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
{{ message }}
Repository navigation
Deep comparing props in shouldComponentUpdate (usage with preact-compat) #287
I'm using react 16.3.* (without preact) and I have the problem.. One of the props in shouldComponentUpdate is object of FiberNode, and this object has recursive link to himself (alternate field) and so deepClone will be crashed..
Reacted by Heidi Olsen and Antonina Kirkalo-Kowerczyk
Activity
tannerlinsley commentedon Mar 5, 2018
This affects React-Static users who opt for preact. What's the game plan here?
kandebr commentedon Apr 4, 2018
I'm using react 16.3.* (without preact) and I have the problem.. One of the props in shouldComponentUpdate is object of FiberNode, and this object has recursive link to himself (
alternatefield) and so deepClone will be crashed..esbenam commentedon May 11, 2020
react-fast-compare just added support for Preact in react-fast-compare@3.1.1. Maybe this could be resolved by upgrading the dependency?