reagent-project / reagent-template

A Leiningen template for projects using Reagent.
MIT License
394 stars 55 forks source link

hook-browser-navigation! not reloadable? #32

Closed p-b-west closed 9 years ago

p-b-west commented 9 years ago

This comment precedes the definition of hook-browser-navigation! ;; History ;; must be called after routes have been defined

I thought this might cause a problem with fig wheel if routes were added to the code. This seems to be the case. Can anyone else confirm this? If so, is there a way to define this so that it will work when routes are added?

yogthos commented 9 years ago

From what I can tell it looks like navigation can only be hooked up once, so you do have to reload the page when adding new routes.