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 have run into a problem with useRemirror, when a user changes page the content is different, however, remirror stays with the latest version 1 and when switching to 3 it stays with version 2, so on and so forth, offset by 1.
Steps to reproduce
export default function NoteEditor({ content}) {
console.log({content}); // 🗨️ the content arrives for sure, but useRemirror never changes it
const {manager, state, onChange} = useRemirror({
extensions,
content,
selection: 'start',
stringHandler: 'html',
})
Summary
I have run into a problem with useRemirror, when a user changes page the content is different, however, remirror stays with the latest version 1 and when switching to 3 it stays with version 2, so on and so forth, offset by 1.
Steps to reproduce
The text was updated successfully, but these errors were encountered: