-
Notifications
You must be signed in to change notification settings - Fork 24.5k
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
Migrated components to export
syntax (part 3)
#48807
Conversation
This pull request was exported from Phabricator. Differential Revision: D68436127 |
Summary: Pull Request resolved: facebook#48807 ## Motivation Modernising the react-native codebase to allow for ingestion by modern Flow tooling. ## This diff - Updates a handful of components in `Libraries/Components` to use `export` syntax - `export default` for qualified objects, many `export` statements for collections (determined by how it's imported) - Appends `.default` to requires of the changed files. - Updates test files. - Updates the public API snapshot (intented breaking change) Changelog: [General][Breaking] - Files inside `Libraries/Components` use `export` syntax, which requires the addition of `.default` when imported with the CJS `require` syntax. Differential Revision: D68436127
d537d11
to
3dff0d8
Compare
This pull request was exported from Phabricator. Differential Revision: D68436127 |
3dff0d8
to
6b728cd
Compare
Summary: Pull Request resolved: facebook#48807 ## Motivation Modernising the react-native codebase to allow for ingestion by modern Flow tooling. ## This diff - Updates a handful of components in `Libraries/Components` to use `export` syntax - `export default` for qualified objects, many `export` statements for collections (determined by how it's imported) - Appends `.default` to requires of the changed files. - Updates test files. - Updates the public API snapshot (intented breaking change) Changelog: [General][Breaking] - Files inside `Libraries/Components` use `export` syntax, which requires the addition of `.default` when imported with the CJS `require` syntax. Differential Revision: D68436127
This pull request was exported from Phabricator. Differential Revision: D68436127 |
6b728cd
to
615c4cb
Compare
Summary: Pull Request resolved: facebook#48807 ## Motivation Modernising the react-native codebase to allow for ingestion by modern Flow tooling. ## This diff - Updates a handful of components in `Libraries/Components` to use `export` syntax - `export default` for qualified objects, many `export` statements for collections (determined by how it's imported) - Appends `.default` to requires of the changed files. - Updates test files. - Updates the public API snapshot (intented breaking change) Changelog: [General][Breaking] - Files inside `Libraries/Components` use `export` syntax, which requires the addition of `.default` when imported with the CJS `require` syntax. Differential Revision: D68436127
This pull request was exported from Phabricator. Differential Revision: D68436127 |
…TextInput, ToastAndroid, UnimplementedView and View components to export syntax (facebook#48807) Summary: Pull Request resolved: facebook#48807 ## Motivation Modernising the react-native codebase to allow for ingestion by modern Flow tooling. ## This diff - Updates a handful of components in `Libraries/Components` to use `export` syntax - `export default` for qualified objects, many `export` statements for collections (determined by how it's imported) - Appends `.default` to requires of the changed files. - Updates test files. - Updates the public API snapshot (intented breaking change) Changelog: [General][Breaking] - Files inside `Libraries/Components` use `export` syntax, which requires the addition of `.default` when imported with the CJS `require` syntax. Reviewed By: huntie Differential Revision: D68436127
615c4cb
to
4f8a9e5
Compare
This pull request was exported from Phabricator. Differential Revision: D68436127 |
1 similar comment
This pull request was exported from Phabricator. Differential Revision: D68436127 |
…TextInput, ToastAndroid, UnimplementedView and View components to export syntax (facebook#48807) Summary: Pull Request resolved: facebook#48807 ## Motivation Modernising the react-native codebase to allow for ingestion by modern Flow tooling. ## This diff - Updates a handful of components in `Libraries/Components` to use `export` syntax - `export default` for qualified objects, many `export` statements for collections (determined by how it's imported) - Appends `.default` to requires of the changed files. - Updates test files. - Updates the public API snapshot (intented breaking change) Changelog: [General][Breaking] - Files inside `Libraries/Components` use `export` syntax, which requires the addition of `.default` when imported with the CJS `require` syntax. Reviewed By: huntie Differential Revision: D68436127
4f8a9e5
to
c1f91b8
Compare
This pull request was exported from Phabricator. Differential Revision: D68436127 |
…TextInput, ToastAndroid, UnimplementedView and View components to export syntax (facebook#48807) Summary: Pull Request resolved: facebook#48807 ## Motivation Modernising the react-native codebase to allow for ingestion by modern Flow tooling. ## This diff - Updates a handful of components in `Libraries/Components` to use `export` syntax - `export default` for qualified objects, many `export` statements for collections (determined by how it's imported) - Appends `.default` to requires of the changed files. - Updates test files. - Updates the public API snapshot (intented breaking change) Changelog: [General][Breaking] - Files inside `Libraries/Components` use `export` syntax, which requires the addition of `.default` when imported with the CJS `require` syntax. Reviewed By: huntie Differential Revision: D68436127
c1f91b8
to
f8a2d3b
Compare
This pull request was exported from Phabricator. Differential Revision: D68436127 |
…TextInput, ToastAndroid, UnimplementedView and View components to export syntax (facebook#48807) Summary: Pull Request resolved: facebook#48807 ## Motivation Modernising the react-native codebase to allow for ingestion by modern Flow tooling. ## This diff - Updates a handful of components in `Libraries/Components` to use `export` syntax - `export default` for qualified objects, many `export` statements for collections (determined by how it's imported) - Appends `.default` to requires of the changed files. - Updates test files. - Updates the public API snapshot (intented breaking change) Changelog: [General][Breaking] - Files inside `Libraries/Components` use `export` syntax, which requires the addition of `.default` when imported with the CJS `require` syntax. Reviewed By: huntie Differential Revision: D68436127
f8a2d3b
to
4ab9f4c
Compare
…TextInput, ToastAndroid, UnimplementedView and View components to export syntax (facebook#48807) Summary: Pull Request resolved: facebook#48807 ## Motivation Modernising the react-native codebase to allow for ingestion by modern Flow tooling. ## This diff - Updates a handful of components in `Libraries/Components` to use `export` syntax - `export default` for qualified objects, many `export` statements for collections (determined by how it's imported) - Appends `.default` to requires of the changed files. - Updates test files. - Updates the public API snapshot (intented breaking change) Changelog: [General][Breaking] - Files inside `Libraries/Components` use `export` syntax, which requires the addition of `.default` when imported with the CJS `require` syntax. Reviewed By: huntie Differential Revision: D68436127
4ab9f4c
to
4758254
Compare
This pull request was exported from Phabricator. Differential Revision: D68436127 |
…TextInput, ToastAndroid, UnimplementedView and View components to export syntax (facebook#48807) Summary: Pull Request resolved: facebook#48807 ## Motivation Modernising the react-native codebase to allow for ingestion by modern Flow tooling. ## This diff - Updates a handful of components in `Libraries/Components` to use `export` syntax - `export default` for qualified objects, many `export` statements for collections (determined by how it's imported) - Appends `.default` to requires of the changed files. - Updates test files. - Updates the public API snapshot (intented breaking change) Changelog: [General][Breaking] - Files inside `Libraries/Components` use `export` syntax, which requires the addition of `.default` when imported with the CJS `require` syntax. Reviewed By: huntie Differential Revision: D68436127
4758254
to
d1da059
Compare
This pull request was exported from Phabricator. Differential Revision: D68436127 |
…TextInput, ToastAndroid, UnimplementedView and View components to export syntax (facebook#48807) Summary: Pull Request resolved: facebook#48807 ## Motivation Modernising the react-native codebase to allow for ingestion by modern Flow tooling. ## This diff - Updates a handful of components in `Libraries/Components` to use `export` syntax - `export default` for qualified objects, many `export` statements for collections (determined by how it's imported) - Appends `.default` to requires of the changed files. - Updates test files. - Updates the public API snapshot (intented breaking change) Changelog: [General][Breaking] - Files inside `Libraries/Components` use `export` syntax, which requires the addition of `.default` when imported with the CJS `require` syntax. Reviewed By: huntie Differential Revision: D68436127
This pull request was exported from Phabricator. Differential Revision: D68436127 |
d1da059
to
d3d6eb3
Compare
This pull request was successfully merged by @iwoplaza in aac312d When will my fix make it into a release? | How to file a pick request? |
This pull request has been merged in aac312d. |
Summary:
Motivation
Modernising the react-native codebase to allow for ingestion by modern Flow tooling.
This diff
Libraries/Components
to useexport
syntaxexport default
for qualified objects, manyexport
statements for collections (determined by how it's imported).default
to requires of the changed files.Changelog:
[General][Breaking] - Files inside
Libraries/Components
useexport
syntax, which requires the addition of.default
when imported with the CJSrequire
syntax.Differential Revision: D68436127