Like ui-router, but without all the Angular. The best way to structure a single-page webapp.
TehShrike on master
Bump some dev dependencies to m… (compare)
TehShrike on ArtskydJ-patch-1
TehShrike on master
Change tehshrike.github.io link… Merge pull request #123 from Te… (compare)
ArtskydJ on ArtskydJ-patch-1
Change tehshrike.github.io link… (compare)
activate
function for that state, and have it listen for events
asr.makePath
resolve
state.go('logout')
or having the user click on a link <a href="{{ asr.makePath('logout') }}">logout</a>
I posted this in the MobX gitter earlier:
I have a question which may seem sort of stupid.
I am a massive fan of MobX with injected store decorators and observer/observable pattern, it makes sense and deprecates the need the for "state" if you will in components since they're essentially "hot-wired" to the store (global app state).
I've been using state management libraries since Flux was introduced, before Redux ever existed.
I'm curious if there's a way to make an agnostic implementation of MobX that you can configure to work with Vue/React/Angular/Aurelia, etc.
Every time I've used MobX, I've needed (or appeared to need) a "binding" package for that UI framework.
Would it not be possible to write an agnostic implementation that you could pass framework elements or functions into for context?