Closed Vadilonga closed 11 months ago
Can you double check you use the latest version of each package? The stackblitz demo is for sure outdated, and it may be related.
Your above example works as expected in the browser console in https://drarig29.github.io/brackets-docs/getting-started/.
You can get manager
and storage
like this:
const manager = window.bracketsManager
const storage = manager.storage
I checked the versions of the file:
"brackets-manager": "^1.6.4",
"brackets-memory-db": "^1.0.4",
"brackets-model": "^1.5.0",
"brackets-viewer": "^1.6.2",
Can the problem be I'm using the InMemoryDataset instead the "brackets-json-db"? It seems that the manager cannot write to the db.
Ok, I did another test, I created an empty app and works properly, I have to check back my current application.
If anyone has already tried to integrate this library with fuse we will be very happy to hear your solutions!
I cleaned the node modules, removed the previously added dependencies to try to integrate the brackets-json-db library and now everything is working as expected. I couldn't say for sure what the problem might have been. Thx for the support <3
Hi, I'm trying the library for the first time and I followed the documentation in github and also on stackblitz.
I dunno why the create stage doesn't work on my code. I'm using Angular 16. This is my code:
At the moment the console log of stage has this value:
But inside data console log, stage is an array with one element that is an empty array.
I also share my dataset:
I dunno what is wrong with the code