Skip to content
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

Remove unnecessary 'use strict' in the source #11433

Merged
merged 2 commits into from Nov 2, 2017

Conversation

gaearon
Copy link
Collaborator

@gaearon gaearon commented Nov 2, 2017

It is implied by modules, and Babel always inserts it anyway.

I only modified files inside packages, and only the ones that use ES Modules (shared/*, events/*, */src/*, excluding mocks, tests, and ReactVersion).

This was unused since Stack.
@gaearon gaearon merged commit 45c1ff3 into facebook:master Nov 2, 2017
@gaearon gaearon deleted the no-strict branch November 2, 2017 20:32
Ethan-Arrowood pushed a commit to Ethan-Arrowood/react that referenced this pull request Dec 8, 2017
* Remove use strict from ES modules

* Delete unused file

This was unused since Stack.
NMinhNguyen referenced this pull request in enzymejs/react-shallow-renderer Jan 29, 2020
* Remove use strict from ES modules

* Delete unused file

This was unused since Stack.
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.

None yet

2 participants