Remove reagent from the equation, what happens if you type (js/alert "hi")? On 16 May 2015 17:15, "Matthew Phillips" <[email protected]> wrote:
> I'm using the reagent lein template: > https://github.com/reagent-project/reagent-template > > Running "lein do clean, figwheel" starts figwheel and a repl. Cool! I > can update code and it automatically refreshes in the browser. Awesome! > > But what I don't understand is how to do things in the repl and have > that reflect in the browser. So I type something like: > > (reagent.session/put! my-app.core/current-page #'my-app.core/about-page) > > Expecting that to change the current page, but it does not. In the repl > it spits out the compiled javascript but no change in the browser. > > Any help on what I'm doing wrong here? > > -- > 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.
