Closed clibu closed 3 years ago
I've tried creating a new project with the https://github.com/YousefED/reactive-crdt#without-framework example and am running into problems with your reactive-crdt.js etc. files using require()
but the example code uses es6 import's. I'm not using webpack, babel etc. and just running the example in Node.
Hi @clibu ! Nice to see you're looking into reactive-crdt. If you could share some example code, I can look into your issue!
@YousefED If you try:
> yarn install
> cd to todo-vue
> yarn install
> yarn run serve
and see if it works for you.
Hi @clibu ,
Do you have the same issue with npm instead of yarn? For me it works with NPM
(I'm running into another compatibility issue with Vue though, which I'm solving separately)
@clibu I expect this is resolved in the latest version
I tried installing the Vue example with npm and it failed - I try not to use npm. Then did
yarn install
and all went well. However when I goyarn run serve
I get:I just wanted to have a quick play, so don't go to any trouble. I'm new to yjs and saw your post: https://discuss.yjs.dev/t/reactive-crdt-easy-to-use-api-to-use-yjs-and-build-collaborative-apps/507/7
I understand you are using a fork of yjs.
FYI For managing state I was using NX Observe, then moved to onChange and more recently the reactive code in Acebase which is the best fit so far.
I am now looking seriously at yjs which is how I discovered your lib. The ability to use plain JS objects and arrays is very appealing. I don't use Vue or React 😀
PS. I'm using Node v16.1.0 on Windows 10