I don't know Om enough to be able to articulate a sound answer ... but I can't resist trying anyway!
I tend to think there's often a false divide between, you know, "The App State", the one that counts, the one that's server-side driven, and "the rest, this ugly state we cannot get rid of and is part of the UI" ... The UI is a real app, I mean, it's the first thing the user is exposed to, and its state is also real important. Especially with browsers, when the user is at risk of losing everything if they hit Back or close the window by accident ... ... meaning : can you refactor your app such that the component's state is treated as durably as "The App State" ? Or maybe cut the apple in two, and save it in local storage ? Of course, maybe I don't even understood the question well .... :-) 2014-02-10 16:15 GMT+01:00 JUAN ANTONIO Ruz <[email protected]>: > Hello guys! > I'm wondering if there is a way to inject values through a BREPL to OM > components. > My idea would be pass values to certain components on an active workflow > flow, so i don't need to start always from a step one of my UI interaction > workflow. > > Currently I was achieving this behavior through updating the "big" > app-state map, but it starts to get difficult when my components use their > own state ```(init-state [_] {:selection (chan)})``` > > The behavior i try to described is the same than you can experiment when > use http://clojurescriptone.com/ > > Thanks a lot! > > NOTE: I'm using @cemerick/austin > > -- > Note that posts from new members are moderated - please be patient with > your first post. > --- > You received this message because you are subscribed to the Google Groups > "ClojureScript" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/clojurescript. > -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups "ClojureScript" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/clojurescript.
