Documentation mistakes to fix
Not sure what is good way to report mistakes in doc as I don't have line numbers but you should be able to Ctrl+F these to easily find them
where: https://github.com/ueberdosis/hocuspocus/blob/main/docs/src/docPages/provider/events.md
is: onSynced: ({ status }) => {
should be: onSynced: ({ state }) => {
is: provider.on('onMessage', message)
should be: provider.on('message', onMessage)
is: provider.off('onMessage', message)
should be: provider.off('message', onMessage)
where: https://github.com/ueberdosis/hocuspocus/blob/main/docs/src/docPages/provider/awareness.md
is: }), (line under console.log(states) has extra closing bracket)
should be: },
where: https://github.com/ueberdosis/hocuspocus/blob/main/docs/src/docPages/api/hooks/on-change.md
where: https://github.com/ueberdosis/hocuspocus/blob/main/docs/src/docPages/guide/documents.md
is: debounced = debounce(() => save, 4000)
should be: debounced = debounce(save, 4000)
Amazing, thanks! :)