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
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.
at _LocaleContainer (/var/www/umi/dist/umi.server.js:208307:72)
at module.exports../src/.umi/plugin-model/Provider.tsx.webpack_exports.default (/var/www/umi/dist/umi.server.js:208690:3)
[SSR] render /23fdd196841768a25512.hot-update.json start: 743.42ms
例如 locale 插件,在开启 SSR 模式时,会报如下错误。
参考修复方法如下,
facebook/react#14927 (comment)
The text was updated successfully, but these errors were encountered: