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
fix(infowindow): replace useDeepCompareEffect with useEffect
Due to the destructuring assignment of infowindowOptions, the useDeepCompareEffect was used to avoid re-assigning options even if they didn't change.
This, however, caused serious problems with other dependencies of those effects that could contain cycles and large object-structures to be compared.
Instead of `useDeepCompareEffect` this switches to using regular effects and deep memoization for the infowindowOptions.
0 commit comments