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

slow performance, Text over Image #14327

Closed
temaivanoff opened this issue Jun 5, 2017 · 1 comment
Closed

slow performance, Text over Image #14327

temaivanoff opened this issue Jun 5, 2017 · 1 comment
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@temaivanoff
Copy link

temaivanoff commented Jun 5, 2017

Hi, i have next code:

<View >
  <Image /> //style width & height 100%
   <Text >value1<Text />
   <Text >value2<Text />
   <Text >value3<Text />
</View>

If Text style position: 'absolute' over Image, setState update text value, perfomance: JS 8 - 15 fps. Else Text style position: 'relative' no over image setState text value, performance: JS 57 - 60 fps.
If have 15 - 20 Text and call setState 1000ms of update values, critical js fps 0. How can I achieve good performance?

@hramos
Copy link
Contributor

hramos commented Jun 6, 2017

This issue looks like a question that would be best asked on StackOverflow.

StackOverflow is amazing for Q&A: it has a reputation system, voting, the ability to mark a question as answered. Because of the reputation system it is likely the community will see and answer your question there. This also helps us use the GitHub bug tracker for bugs only.

Will close this as this is really a question that should be asked on StackOverflow.

@hramos hramos closed this as completed Jun 6, 2017
@facebook facebook locked as resolved and limited conversation to collaborators Jun 6, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 18, 2018
This issue was closed.
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