You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am encountering a RangeError: Set maximum size exceeded error when using the runPropUpdates function in the AnimatedNode.js file. This issue occurs when the visitedNodes set grows too large, likely due to an infinite loop or a very large number of nodes being processed. The expected behavior is that the function should efficiently update nodes without exceeding the set size limit. Here’s a screenshot of the error:
Steps to reproduce
Run the app and trigger the animation updates npm start-- --reset cache
Observe the error Set maximum size exceeded in the console.
Description
I am encountering a
RangeError: Set maximum size exceeded
error when using therunPropUpdates
function in the AnimatedNode.js file. This issue occurs when thevisitedNodes
set grows too large, likely due to an infinite loop or a very large number of nodes being processed. The expected behavior is that the function should efficiently update nodes without exceeding the set size limit. Here’s a screenshot of the error:Steps to reproduce
npm start-- --reset cache
Set maximum size exceeded
in the console.Snack or a link to a repository
https://github.com/Mutai-Gilbert
Reanimated version
2.17.0
React Native version
0.69.12
Platforms
iOS
JavaScript runtime
Hermes
Workflow
React Native
Architecture
Paper (Old Architecture)
Build type
Debug app & production bundle
Device
iOS simulator
Device model
iPhone 14 Pro, iOS 16.2
Acknowledgements
Yes
The text was updated successfully, but these errors were encountered: