obytes / react-native-template-obytes

📱 A template for your next React Native project: Expo, PNPM, TypeScript, TailwindCSS, Husky, EAS, GitHub Actions, Env Vars, expo-router, react-query, react-hook-form.
https://starter.obytes.com
MIT License
2.45k stars 355 forks source link

Reanimated warning #396

Open yjose opened 3 days ago

yjose commented 3 days ago

Summary:

Getting this warning on the terminal

[Reanimated] Reading from `value` during component render. Please ensure that you do not access the `value` property or use `get` method of a shared value while React is rendering a component.

Steps to reproduce:

Open the app navigate between screens and the warning should appear on the console

Expected behavior:

no warning

Additional notes:

Mostly this issue is related to https://github.com/dohooo/react-native-reanimated-carousel/issues/706 and mainly caused by BottomSheetModal

I believe this is the best time to use true sheet because it utilizes native implementation rather than just reanimated.

no-1ne commented 1 day ago

It doesn't seem to have web support though https://github.com/lodev09/react-native-true-sheet/discussions/87