Better HN
topnewbestaskshowjobs
Log inSign up

camachgk

4 karma · joined Oct 16, 2012 (14y ago) · 1 submissions

Submissions

comment 14y ago · link · parent

One practical application could be a drop down in a view that is tied to a bunch of functionality and a route update. With two access points (user click or URL changes) to any of the drop down values and the associated behavior ("states"), StateManager provides a modular way for defining each of those states and handling the associated functionality for transitions.