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(canvas) Handle Changing Imports In Canvas (#6567)
- Removed the previous handling of `shouldRerenderRef`.
- Implemented `projectContentsSameForRefreshRequire`.
- Changed out old `haveProjectImportsChanged` call to use the new
`projectContentsSameForRefreshRequire`.
elementsToRerenderRef.current==='rerender-all-elements'||// TODO this means the first drag frame will still be slow, figure out a nicer way to immediately switch to true. probably this should live in a dedicated a function
368
-
!arrayEqualsByValue(
369
-
ElementsToRerenderGLOBAL.current,
370
-
elementsToRerenderRef.current,
371
-
EP.pathsEqual,
372
-
)// once we get here, we know that both `ElementsToRerenderGLOBAL.current` and `elementsToRerenderRef.current` are arrays
0 commit comments