Open Shelob9 opened 6 years ago
Backing out of first attempt. Second attempt incoming. New Solution -- Vue plugins to create a mixin that makes 2 way bindings 2 state in all components, and it's lazy-loaded to create stateFactory objects as needed.
Prototypes of plugins to inject computed property "foo" into all components: https://gist.github.com/Shelob9/1e1debd1bcc851bb3fa832d3c7f447b4
Backing out of first attempt. Second attempt incoming. New Solution -- Vue plugins to create a mixin that makes 2 way bindings 2 state in all components, and it's lazy-loaded to create stateFactory objects as needed.
Prototypes of plugins to inject computed property "foo" into all components: https://gist.github.com/Shelob9/1e1debd1bcc851bb3fa832d3c7f447b4