This feature introduce history buffer to undo/redo data changes in class accessors/properties. There is 2 kind of history that can be enabled via attribute:
[ ] history=linear - use linear history where each new change after undo() will remove history of that undo()
Note that each event handler need to be specified as @event=track:methods or use @history.track decorator to track the history. Specifying as @event=untrack:methods or using @history.untrack decorator will untrack the history when using autotrack=history attribute.
This feature introduce history buffer to undo/redo data changes in class accessors/properties. There is 2 kind of history that can be enabled via attribute:
history=linear
- use linear history where each new change after undo() will remove history of that undo()history=tree
- history can have branch [^1][^1]: see vim undo tree
history
andautotrack=history
attribute available on:render-scope
- track history on all template for each instance of all linked modules:is(html, render-scope) > link
- track history for each instance of that modulerender-scope > template[shadowrootmode, define]
- track history inside that template(TODO) This feature also pave a way for CRDT and data synchronization between servers and/or clients over network.
Example