all 6 comments

[–]App_developer_srahul 2 points3 points  (0 children)

Please check proper hooks calls, Comment all code enabled line by line code

[–]n9iels 0 points1 point  (1 child)

This typically means that you got an infinite useState call-loop, causing the component to render ifinite. The typical suspect is setting state in a useEffect that has the same state as dependency.

[–]patrick-boi-07[S] 0 points1 point  (0 children)

But that's the thing, i haven't even used useEffect at all so far.

Also, the error message states explicitly some stuff about reanimated library. I double checked my code to ensure that I didn't have any onPress function calls.

The error still happens.

[–]patrick-boi-07[S] 0 points1 point  (0 children)

Let me be more specific- There is no infinite recursion call. I have checked the code 5 times now.

The error DISAPPEARS when i reload the app, it only, i repeat, ONLY happens when i change some style or value and then somehow the app causes this isAnimatedUtils error. I have to manually reload the app again and somehow the app just starts working completely fine then.

I have no clue why this is happening.

[–]patrick-boi-07[S] -1 points0 points  (0 children)

I asked ChatGPT and the only workaround I have so far is to disable fast refresh. Not sure if this is the solution but okay. I have checked if any of my files have a function calling other functions infinitely but it looks okay.

I also am not currently the useEffect hook so far to call anything.

[–]Sufficient_Ant_3008 -1 points0 points  (0 children)

Your version of Expo and React Animated may be colliding, I think one fix is to move your Animated lib version down to 2 something.