Error: Internal Error: do not use legacy react-dom/server APIs #3186
-
I've struggling for a almost a day trying to figure out why i am getting this issue, tried updating here is a look at my set-up: `'use client'; import { Editor } from '@/packages/editor/plate-ui/editor'; const plugins = createPlugins( type Props = { export function PlateEditor({ htmlValue, onChanged }: Props) { const initialValue = useMemo(() => {
}, [htmlValue]); const debouncedCallback = useDebouncedCallback((newValue) => {
}, 1000); return (
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
Does it happen in <31.4.4? |
Beta Was this translation helpful? Give feedback.
-
Which version of ReactJS you are using? |
Beta Was this translation helpful? Give feedback.
-
It's seems like the fact we have used
Options I see
I would suggest to make use of |
Beta Was this translation helpful? Give feedback.
-
We are deprecating You can find a detailed guide here. And the complete example including export to HTML, Tailwind CSS, and Prism. |
Beta Was this translation helpful? Give feedback.
We are deprecating
@udecode/plate-html
. TheserializeHtml
function has been migrated to@udecode/plate-core
and@udecode/plate-common
. The migration process for this stable fix requires creating a static version of all your components, that will make it work SSR.You can find a detailed guide here. And the complete example including export to HTML, Tailwind CSS, and Prism.