Skip to content

Simple React Native project that contains a module with a circular dependency which causes a call stack exception when using Hot Reloading

Notifications You must be signed in to change notification settings

mattread90/react-native-circ-dep-hot-reload

Repository files navigation

react-native-circ-dep-hot-reload

Simple React Native project that contains a module with a circular dependency which causes a call stack exception when using Hot Reloading

To re-create issue:

Run react-native run-ios, open the debug menu in the simulator and enable Hot Reloading and remote JS debugging. Re-save the modue-with-circ-dep/PIComp.js file to trigger a hot reload. You should see repeated console logs of [React Transform HMR] Patching circularDependencies in the debugger before a 'Maximum call stack size exceeded' exception.

About

Simple React Native project that contains a module with a circular dependency which causes a call stack exception when using Hot Reloading

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published