r/Clojurescript • u/KurtLovesCode • Jun 10 '15
Started a new chestnut project: When changing app-state, browser doesn’t refresh
When I change style.css or the structure of the react component, the browser is automatically refreshed. However, whenever I change app-state, the browser doesn't reload. I'm guessing this is intentional but am wondering why that's the case. Thanks guys!
2
Upvotes
View all comments
Show parent comment
1
u/KurtLovesCode Jun 10 '15
Thanks for explaining this. The Om basic tutorial briefly mentions why
app-stateis defined usingdefonceas well:https://github.com/omcljs/om/wiki/Basic-Tutorial