react-native-ficus-ui icon indicating copy to clipboard operation
react-native-ficus-ui copied to clipboard

useLayoutEffect should only be used in components that render exclusively on the client. See https://reactjs.org/link/uselayouteffect-ssr for common fixes.%s

Open varunajmera0 opened this issue 1 year ago • 1 comments

I am getting below error ERROR 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.%s

varunajmera0 avatar Oct 31 '24 07:10 varunajmera0

Hi @varunajmera0 can you give me more detail please? Which version of the library do you use? And which used component is raising this error? Thanks

ntorionbearstudio avatar Nov 08 '24 16:11 ntorionbearstudio