-
|
How about using |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
|
Beta Was this translation helpful? Give feedback.
-
|
How about using |
Beta Was this translation helpful? Give feedback.
-
|
|
Beta Was this translation helpful? Give feedback.
UnistylesRuntimeworks like a regular JavaScript object. You can access its values, but your component will never re-render because nothing will notify it of changes.const { theme } = useUnistyles()provides an escape hatch for components that can’t be wrapped inwithUnistyles. It behaves the same way as in Unistyles 2.0.withUnistylesis the preferred option, because it can track your style dependencies and re-render only when necessary