-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
Migrate Libraries/ReactNative/*.js to use export
syntax.
#48650
base: main
Are you sure you want to change the base?
Conversation
This pull request was exported from Phabricator. Differential Revision: D68109193 |
…48650) Summary: ## Motivation Modernising the RN codebase to allow for modern Flow tooling to process it. ## This diff - Migrates the `Libraries/ReactNative/*.js` files to use the `export` syntax. - Updates deep-imports of these files to use `.default` - Updates the current iteration of API snapshots (intended). Changelog: [General][Breaking] - Deep imports to modules inside `Libraries/ReactNative` with `require` syntax need to be appended with '.default'. Differential Revision: D68109193
60c1f42
to
63126c4
Compare
This pull request was exported from Phabricator. Differential Revision: D68109193 |
…48650) Summary: ## Motivation Modernising the RN codebase to allow for modern Flow tooling to process it. ## This diff - Migrates the `Libraries/ReactNative/*.js` files to use the `export` syntax. - Updates deep-imports of these files to use `.default` - Updates the current iteration of API snapshots (intended). Changelog: [General][Breaking] - Deep imports to modules inside `Libraries/ReactNative` with `require` syntax need to be appended with '.default'. Differential Revision: D68109193
63126c4
to
3abea24
Compare
This pull request was exported from Phabricator. Differential Revision: D68109193 |
…48650) Summary: ## Motivation Modernising the RN codebase to allow for modern Flow tooling to process it. ## This diff - Migrates the `Libraries/ReactNative/*.js` files to use the `export` syntax. - Updates deep-imports of these files to use `.default` - Updates the current iteration of API snapshots (intended). Changelog: [General][Breaking] - Deep imports to modules inside `Libraries/ReactNative` with `require` syntax need to be appended with '.default'. Differential Revision: D68109193
3abea24
to
248d783
Compare
This pull request was exported from Phabricator. Differential Revision: D68109193 |
248d783
to
3bbedba
Compare
…48650) Summary: ## Motivation Modernising the RN codebase to allow for modern Flow tooling to process it. ## This diff - Migrates the `Libraries/ReactNative/*.js` files to use the `export` syntax. - Updates deep-imports of these files to use `.default` - Updates the current iteration of API snapshots (intended). Changelog: [General][Breaking] - Deep imports to modules inside `Libraries/ReactNative` with `require` syntax need to be appended with '.default'. Differential Revision: D68109193
This pull request was exported from Phabricator. Differential Revision: D68109193 |
…48650) Summary: ## Motivation Modernising the RN codebase to allow for modern Flow tooling to process it. ## This diff - Migrates the `Libraries/ReactNative/*.js` files to use the `export` syntax. - Updates deep-imports of these files to use `.default` - Updates the current iteration of API snapshots (intended). Changelog: [General][Breaking] - Deep imports to modules inside `Libraries/ReactNative` with `require` syntax need to be appended with '.default'. Differential Revision: D68109193
3bbedba
to
36d2689
Compare
This pull request was exported from Phabricator. Differential Revision: D68109193 |
36d2689
to
8bbf6a3
Compare
…48650) Summary: ## Motivation Modernising the RN codebase to allow for modern Flow tooling to process it. ## This diff - Migrates the `Libraries/ReactNative/*.js` files to use the `export` syntax. - Updates deep-imports of these files to use `.default` - Updates the current iteration of API snapshots (intended). Changelog: [General][Breaking] - Deep imports to modules inside `Libraries/ReactNative` with `require` syntax need to be appended with '.default'. Differential Revision: D68109193
This pull request was exported from Phabricator. Differential Revision: D68109193 |
…48650) Summary: ## Motivation Modernising the RN codebase to allow for modern Flow tooling to process it. ## This diff - Migrates the `Libraries/ReactNative/*.js` files to use the `export` syntax. - Updates deep-imports of these files to use `.default` - Updates the current iteration of API snapshots (intended). Changelog: [General][Breaking] - Deep imports to modules inside `Libraries/ReactNative` with `require` syntax need to be appended with '.default'. Differential Revision: D68109193
8bbf6a3
to
2fd5f74
Compare
This pull request was exported from Phabricator. Differential Revision: D68109193 |
Summary:
Motivation
Modernising the RN codebase to allow for modern Flow tooling to process it.
This diff
Libraries/ReactNative/*.js
files to use theexport
syntax..default
Changelog:
[General][Breaking] - Deep imports to modules inside
Libraries/ReactNative
withrequire
syntax need to be appended with '.default'.Differential Revision: D68109193