Thanks for sharing this!
I loaded up the examples in VS Code to see how it works at design-time, and first thing I noticed about the examples is, they're not very type-safe?
For example, model: any in tree.ts provides no type-safety, not even when using Vue's built-in value decorators, such as this.model.$add(...).
Have you gotten any further with this pattern, on your own projects, since posting this six months ago?
If so, would you consider maybe updating one of the example with full tape-safety?
Thanks again, this is a great starting point!
Thanks for sharing this!
I loaded up the examples in VS Code to see how it works at design-time, and first thing I noticed about the examples is, they're not very type-safe?
For example,
model: anyintree.tsprovides no type-safety, not even when using Vue's built-in value decorators, such asthis.model.$add(...).Have you gotten any further with this pattern, on your own projects, since posting this six months ago?
If so, would you consider maybe updating one of the example with full tape-safety?
Thanks again, this is a great starting point!