Getting useLayoutEffect errors in SSR in Remix with the Remix Shopify App Template
Closed this issue ยท 10 comments
I checked the line here ๐๐ป, Maybe better to go back to use useIsomorphicLayoutEffect
being required everywhere ?
Same problem here updated to last version using IndexTable with Remix.
"@shopify/polaris": "^13.0.0",
Warning: useLayoutEffect does nothing on the server, because its effect cannot be encoded
into the server renderer's output format. This will lead to a mismatch between the initial, non-hydrated UI and the
intended UI. To avoid this, useLayoutEffect should only be used in components that render exclusively on the client.
See https://reactjs.org/link/uselayouteffect-ssr for common fixes.
09:50:55 โ remix โ at IndexTableBase
cc @jesstelford it looks like it might have been you that changed from useIsomorphicLayoutEffect
to useLayoutEffect
here. Do you have a bit of time to investigate?
Any update on this ?
Thanks for the report folks, the error messages & prior investigation made it much easier to track down!
I've got a fix open in #11950 ๐
The fix will be shipped in the following release: #11997
Hi @ALL team member
Same issue i'm facing after update shopify version.
Any body help me how can i resolve this issue.
Please give me solution on this mail id himanshu.jangir@ascuretech.com
I have same issue warning in "@shopify/polaris": "^12.0.0"
I have same issue warning in
"@shopify/polaris": "^12.0.0"
I also have the same issue
I have same issue warning in "@shopify/polaris": "^12.0.0"
I also have the same issue
I also have the same issue