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 flushSync from React Native #12565

Merged
merged 1 commit into from
Apr 7, 2018

Conversation

sebmarkbage
Copy link
Collaborator

There are no plans to enable async in the old renderer. In the new renderer
it only really makes sense to do from the main thread and probably from
native since it'll have to yield to native to do the work.

I'm not sure the exact equivalent will exist (and that makes it interesting from a test renderer perspective, should it exist there if it is not universal)?

There are no plans to enable async in the old renderer. In the new renderer
it only really makes sense to do from the main thread and probably from
native since it'll have to yield to native first.
@acdlite
Copy link
Collaborator

acdlite commented Apr 6, 2018

should it exist there if it is not universal?

Perhaps not. It's the only API we have to change the priority. Maybe we can rename it something else?

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

3 participants