127labs / generator-duxedo

MIT License
42 stars 2 forks source link

Disable "Dynamic" routing #15

Closed colinshen closed 8 years ago

colinshen commented 8 years ago

Hi~ I have a problem when I use this generator. When I try to save ui state(dispatch the new ui state to state tree) when page changes, the new page still loads the default state. it seems every time page loaded the state tree is the default state tree so that I can not save loaded state in state tree. how can i disable this in this generator?

imranismail commented 8 years ago

Hi, did you mean you want to route the component according to the given url in the address bar?

imranismail commented 8 years ago

In the upcoming version, I'll enable browserHistory by default. I think you are facing this problem because we are using hashHistory.

imranismail commented 8 years ago

You can track the changes here https://github.com/127labs/generator-duxedo/pull/18