Skip to content

Support logical assignment operators #10734

Description

@davidgilbertson

Is your proposal related to a problem?

ES 2021 Logical assignment operators are supported in Chrome/Edge/Firefox/Safari, but will break the Create React App build.

Describe the solution you'd like

Update the Babel config/version to take advantage of logical assignment parsing.

Describe alternatives you've considered

Custom config with Craco, not really worth it.

Additional context

I assume this is on it's way anyway with or without this issue, but the only other issue I could find is more specific and appears to be from someone who assumed that it should be working. #9908

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions