Skip to content

slow performance, Text over Image #14327

Description

@temaivanoff

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions