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

When and How the react-native update the shadowNode( or a view ) #15616

Closed
SinLucifer opened this issue Aug 23, 2017 · 1 comment
Closed

When and How the react-native update the shadowNode( or a view ) #15616

SinLucifer opened this issue Aug 23, 2017 · 1 comment
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@SinLucifer
Copy link

In my code, ReactTextShadowNode will be added into PendingList when this node fails in getTypeFace() (get font family) after the FontFamily was downloaded, how could I refresh the node to make it work properly.

Actually, the node will update automatically if I want to use shadownode.markUpdate() and plz tell me why.

There might be two possibilities:

a) The ui_thread check the nodes periodically and refresh them when it finds the nodes are marked to update/dirty.

b) Something else needs to update its view and find other nodes are marked to update/dirty and refresh them.

Correct me if I am wrong.

@hramos
Copy link
Contributor

hramos commented Aug 23, 2017

Hey, thanks for reporting this issue!

It looks like your description is missing some necessary information, or the list of reproduction steps is not complete. Can you please add all the details specified in the template? This is necessary for people to be able to understand and reproduce the issue being reported.

I am going to close this, but feel free to open a new issue with the additional information provided. Thanks!

@hramos hramos closed this as completed Aug 23, 2017
@facebook facebook locked as resolved and limited conversation to collaborators Aug 23, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Aug 23, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

3 participants