Closed pgte closed 7 years ago
Here is a proposal for the new API that supports CRDTs: https://github.com/pgte/ipfs-iiif-db/tree/yjs#readme
It's much more specific than the previous one, since I had to define a specific data structure, supported by shared CRDTs.
It should now be easier to integrate with a UI without the need to refresh the entire annotation list.
Here is an example app: https://github.com/pgte/ipfs-iiif-db/blob/yjs/examples/simple-producer-consumer/src/app.js
Here is a demo of it working: https://youtu.be/8xE1MEyZsbo
@edsilv @aeschylus Do you see any problem with this API, or some use case that you require that it doesn't support?
Landed on version 2.0.0
Here is a proposal for the new API that supports CRDTs: https://github.com/pgte/ipfs-iiif-db/tree/yjs#readme
It's much more specific than the previous one, since I had to define a specific data structure, supported by shared CRDTs.
It should now be easier to integrate with a UI without the need to refresh the entire annotation list.
Here is an example app: https://github.com/pgte/ipfs-iiif-db/blob/yjs/examples/simple-producer-consumer/src/app.js
Here is a demo of it working: https://youtu.be/8xE1MEyZsbo
@edsilv @aeschylus Do you see any problem with this API, or some use case that you require that it doesn't support?