TaylorBriggs/react-native-typewriter

[RN 0.61.5] Invariant Violation: Maximum update depth exceeded

nabilfreeman opened this issue · 3 comments

Hi there, been using this plugin for a couple of years at https://github.com/lesalonapp. Worked great up to 0.59. Currently upgrading and ran into this crash.

Screenshot 2020-04-01 at 16 39 19

I'll try and debug & report the underlying issue here.

Removed it from project 😞was a small UI thing that we might restore after the upgrade.

I think it was an issue with the typing continuing after the component unmounted but ran out of time to debug.

Should be fixed with #37. It'll be published as 0.7.0. I noticed the timeoutId wasn't getting unset when the timer gets cleared, which I think is the cause of the problem.

Thanks @TaylorBriggs! Really appreciate you acting fast on the plugin. I'll give it another try once I've finished the upgrade (2 weeks on, still going 😱)