Skip to content

feat(babel-preset-react-app): add support for logical assignment #10832

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

krotovic
Copy link

@krotovic krotovic commented Apr 15, 2021

This change adds support for logical assignment operators into babel-preset-react-app.
This PR is based on issue #10734

I have also updated E2E tests inside react-scripts so I can test it by running ./tasks/local-test.sh --test-suite kitchensink.
This is the only way I could test it. When I tried running all E2E tests it failed when publishing to local repository inside this test suite.

@icecream17
Copy link

icecream17 commented Aug 19, 2021

Can this be finished before version 5 is released?

Edit: If you use typescript, then logical assignment works

@stale
Copy link

stale bot commented Jan 9, 2022

This pull request has been automatically marked as stale because it has not had any recent activity. It will be closed in 5 days if no further activity occurs.

@stale stale bot added stale and removed stale labels Jan 9, 2022
@boris-jarkowicz
Copy link

No one gonna review that? Really? :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants