Hey all,
Saw that the y-react repo is empty as of right now, and needed some React bindings for a project I’m working on. Decided to write my own, let me know what you think!
Hey all,
Saw that the y-react repo is empty as of right now, and needed some React bindings for a project I’m working on. Decided to write my own, let me know what you think!
Is one of your y-react goals to maintain the same API between primitive types and yType?
I’m not sure what you mean, can you give an example? Currently the useMap and useArray hooks provide the functions used for manipulating YMaps and YArrays, respectively. So useMap provides get, set, and delete, and YArray provides get, insert, delete, splice, etc…
Yes, that’s it, your answer solved my confusion, thank you.
You can take a look at this repo https://github.com/YousefED/reactive-crdt
Hey, what do you think about the useY
hook?
Repo: GitHub - nikgraf/react-yjs: React hooks for Yjs
Introduction Video (3:47min): https://www.youtube.com/watch?v=Fz4tV7Nuldw