Open
Description
ampersand-state has been immensely useful for backing my models in a consistent fashion, but I'm finding more and more that es6 classes would solve a category of problems that ampersand-state does not.
I'd like to do some work on making es6 classes and ampersand play nicely together, but before I begin, I'm curious what (if any) prior work has been done on this and if the maintainers have any thoughts on the best way to go about it.
A naive solution may be to simply reimplement ampersand-state as a class (possibly relying on decorators for defining prop/session/computed), but that'll force end users into a precompiler step. Can anyone share solutions that have already been considered?
Metadata
Assignees
Labels
No labels