argelius / react-onsenui-redux-weather

Onsen UI sample app using Redux and React
https://onsen.io/
MIT License
121 stars 78 forks source link

React Router #1

Open pradoshs opened 8 years ago

pradoshs commented 8 years ago

Hi @argelius I don't see any example with React Router as you have mentioned in package.json. It'd be great if you could provide one.

argelius commented 8 years ago

Thanks @pradoshs !

Sorry, I changed the scope of this sample. I was planning on writing a sample using react-router but changed my mind and wrote a Redux sample instead. :)

I will update the package.json. I will maybe write a React Router sample later

pradoshs commented 8 years ago

@argelius No worries! Any pointers you could give me on how could I achieve this? I am relatively new to React Router and OnsenUI. I couldn't see how I could inject navigation page seamlessly without pushing the component.

argelius commented 8 years ago

@pradoshs It is actually not trivial with the current Navigator implementation. We are planning to make some changes to enable easier integration with the Router.

pradoshs commented 8 years ago

@argelius Ok thanks, a bit disappointing as I was planning to use it for a project but Router is important. Will look forward towards being implemented.