Skip to content

How to auto-update 3rd party views?

How to auto-update 3rd party views?
  1. If you’re using react-native, react-native-reanimated, or react-native-gesture-handler components, avoid doing anything. It will work out of the box.

  2. If you’re using third-party components and you’re confident they internally use react-native components, check the Babel plugin configuration to see if they can be processed to work out of the box.

  3. If that fails, try migrating to the withUnistyles factory. It follows best practices and ensures that only a single component is re-rendered when dependencies change.

  4. If that also fails, follow best practices and use the useUnistyles hook.