Skip to content

Nested Text not updated #1045

@bbbenja

Description

@bbbenja

What happened?

I try to add Unistyles on the expo starter template to test adaptive theme but when I change ThemedText to use Unistyles StyleSheet with theme color, color is not applied to nested ThemedText directly, only on reload. Simple text works.

I try to use withUnistyles on Text but it changes nothing.

Simulator.Screen.Recording.-.iPhone.16.Pro.Max.-.2025-12-01.at.17.41.04.mp4

Steps to Reproduce

  1. create a new expo project
  2. add Unistyles and configure adaptive light/dark theme
  3. change ThemedText color to replace const color = useThemeColor({ light: lightColor, dark: darkColor }, "text"); by Unistyles StyleSheet with theme color

Snack or Repository Link (Optional)

No response

Unistyles Version

3.0.19

React Native Version

0.81.5

Platforms

iOS

Expo

Yes

Additional information

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions