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
Declares the proper inputs to register/deregister the layout effect.
I'm not sure if the `ref` parameter should be expected to change ever (rules of hooks) but use it when generating the callback too.
Also fixes incorrect ResizeObserver `.observe` call if the `ref` was not initialized on initial render (maybe it's in an element that's conditionally rendered).
0 commit comments