Creating a Cordova Hybrid App with React, Redux and Webpack
@bearcanrun I’m glad you like it!
Hi @argelius! Is there an easy way to have the Navigator save it’s state in the Redux store so that Redux TimeTravel reverts the navigation as well?
Very glad I found this. As a new onsenui user using React, this is seemingly the only place that tells you that ListItem has an onClick property!
@b4lthazar Sorry for the late response!
Actually we are currently improving the Navigator to work with Redux. The current implementation is a bit hard to integrate since it has some methods with side effects.
The new navigator will be stateless and controller only by its props.
@argelius: Great news! Can’t wait to try it!
Hi @argelius, any news on the Redux backed navigator?
is there a good step by step guide of how to create an Onsen UI 2 + React + Redux + Cordova application from scratch?
I mean there are a lot of guides out there but almost none of them tell about the initial project setup: what npm packages to install and how. How you create the project, how you structure it, where goes css, where goes logic and so on.
In the last week I have read ALOT of articles and tutoria about Onsen and React… But I still dont have any clear understanding of how all this things work together in a real project… I am lacking the basics…
Like a small step by step guide:
- use npm and install following packages…
- this package does this and this and you have to configure it like that and that…
- to create a project which will use cordova + onsen + react + redux and will use babel and webpack you have to use this and this… and make following configurations in following files…
- ok you have created the project! nice! Now here is the correct way of initializing app using cordova… (because i dont understand how hell i have to initialize it… shoul I use cordova onDeviceReady??? or ons.onReady??? or something else???)
- you have to structure you project like that… because it brings following benefits…
- the are several additional libraries that can help you and make you life easier…
- here is an example of a working project with code where you can see everything: the correct app initialization, brilliant structure, working with stores and async web services…
If someone knows where to find this or maybe can create this guide - GOD please do it!
Thanks alot in advance.
failed to locate @import file onsenui/stylus/components.styl
@rolandkofler: you need to downgrade
npm install firstname.lastname@example.org stylus is not nsuportet from email@example.com