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
I've added this to my project which used Next v9 for server-side rendering.
I get this error :
LayoutEffect should only be used in components that render exclusively on the client. See https://fb.me/react-uselayouteffect-ssr for common fixes.
in Unknown (at Header.js:7)
in header (at Header.js:5)
in Header (at page.js:15)
in div (at PageContainer.js:12)
in PageContainer (at page.js:14)
in Context.Provider (at PageContext.js:28)
in PageProvider (at page.js:10)
in Page (at DefaultPage.js:22)
in DefaultPage
in withRouter(DefaultPage) (at pages/index.js:27)
in Index
in Query
in Apollo(Index)
in Context.Provider
in Context.Consumer
in ApolloProvider
in withApollo(Apollo(Index))
in App
in Context.Provider
in Context.Provider
in Context.Provider
in Context.Provider
in AppContainer
in AppTree
in Context.Provider
and this one client side :
at e (index.m.js:1)
at commitHookEffectList (react-dom.development.js:19980)
at commitPassiveHookEffects (react-dom.development.js:20015)
at HTMLUnknownElement.callCallback (react-dom.development.js:347)
at Object.invokeGuardedCallbackDev (react-dom.development.js:397)
at invokeGuardedCallback (react-dom.development.js:454)
at flushPassiveEffectsImpl (react-dom.development.js:22868)
at unstable_runWithPriority (scheduler.development.js:643)
at runWithPriority$2 (react-dom.development.js:11305)
at flushPassiveEffects (react-dom.development.js:22841)
at react-dom.development.js:22419
at scheduler_flushTaskAtPriority_Normal (scheduler.development.js:436)
at flushTask (scheduler.development.js:482)
at flushWork (scheduler.development.js:607)
at MessagePort.performWorkUntilDeadline (scheduler.development.js:231) ```
Is this compatible with Next.js?
The text was updated successfully, but these errors were encountered:
thanks @hadeeb that seems to work now.
I've used the Vue version too quite a bit.
Any plans to support hydrate on click and hover interactions? We drastically reduced out Time to Interact on our Nuxt site when we added those.
I've added this to my project which used Next v9 for server-side rendering.
I get this error :
and this one client side :
The text was updated successfully, but these errors were encountered: