YousefED / SyncedStore

SyncedStore CRDT is an easy-to-use library for building live, collaborative applications that sync automatically.
https://syncedstore.org
MIT License
1.69k stars 51 forks source link

Warning: `property not found on root doc $$typeof` #116

Closed websiddu closed 8 months ago

websiddu commented 9 months ago

When exporting the Synced Store object in next.js received the following warning,

property not found on root doc $$typeof

Seems like we need to add $$typeof in there

https://github.com/YousefED/SyncedStore/blob/main/packages/core/src/doc.ts#L47

Please confirm if that is correct I can submit a pull request.

YousefED commented 8 months ago

This might be right. If you add a PR with a unit test I'd be happy to merge!