-
Notifications
You must be signed in to change notification settings - Fork 47.2k
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
[react-interactions] Re-label Flare as deprecated and remove from RN #17644
Conversation
379fa7c
to
5b18eb3
Compare
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 5b18eb3:
|
Details of bundled changes.Comparing: e84327b...5b18eb3 react-native-renderer
react-dom
ReactDOM: size: 0.0%, gzip: -0.0% Size changes (stable) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! pending CI success, ship it.
Details of bundled changes.Comparing: e84327b...5b18eb3 react-native-renderer
react-dom
Size changes (experimental) |
Just curious, would you mind tell a bit about the relationship between this PR and #17508? IMO, just like #17508 said, it learned from react-flare, but seems the new API like |
@NE-SmallTown React Flare and the Listener API (as per that other PR) are separate event systems that have entirely different designs. There's some overlap in how things work, but that's more a side-effect of those things being positives taken from React Flare that we want to keep in the future. We are still revising things, so the Listener API PR might also change too, thus why we have not merged it. |
Gotcha, thanks~ |
This PR cleans up a bunch of stuff in our code base relating to React Flare. Specifically, it renames all the Flare call-sites to be "DEPRECATED" so it's clear that these APIs are going to go away at some point and shouldn't be used internally. It also removes React Flare from RN – where it was never used internally.
If we are to move forward with other event system experiments, this makes it clearer where the old system (Flare) lives and where other systems live; whereas they might have been confused previously.