-
Notifications
You must be signed in to change notification settings - Fork 7
Create upgradeable package. #15
Comments
@ericwooley I recently stumbled across this repo thanks to your linkage in react-native-web. I am very excited because we have been building a web/ios/android "boilerplate" for our work since June and our design patterns are almost identical. We too use sagas, redux, and react-navigation. I was very interested in your comment about [email protected] having serious networking issues. We are running on 0.42.3 ourselves and while I have not experienced these issues, I am hesitant to downgrade to 0.41. Can you tell me what you meant when you called that out on your readme? Additionally, the only design pattern we have that you did not follow is the Ducks pattern for redux. I absolutely love this and think it makes working with redux significantly easier. Every duck file exports the actions, types, and reducer. Here is an example from our project, you can image how easy it is to import from any duck file with `import { actions as authActions } from '../ducks/auth';:
|
I'm glad you like the boilerplate! 41 issueIIRC it was an issue where certain requests wouldn't go through under certain circumstances on that last version of 42. I found a react native issue that said it was fixed in 43, but they also added the dependency on react.16.alpha in that release. So i couldn't upgrade to that. Duck typingIf you look at https://github.com/ericwooley/react-nativeish/blob/master/src/redux/reducers/counter/counterReducer.js It is essentially the duck pattern, counter exports the reducer, action types, and action creators. In any case, the boilerplate code is actually checked into the repository here. So you can edit that to match the pattern you like. Alternative branch.Also there is another, less polished (I think the docs are outdated, and boilerplate is gone), branch you may be interested in, https://github.com/ericwooley/react-nativeish/tree/upgrade-rn But I did a ton of work with react router v4 and react-navigation. Last time i checked, the latest version of react-navigation did not work in the browser any longer. Hopefully you can get some use out of it, or when you encounter errors with the current setup, you can reference that. Which allows you to use the later versions of react native (by installing the correct dependencies just before run, which is gross, but the only decent way to do it at the moment). |
Implement dependency switching per commandThis is done, but waiting for release to make it non-necessaryImplement hot reload for web
Implement hot reload for redux (web may be different than mobile?)
Re-add sagasNot going to be in boilerplate.Add navigation for mobile
Add navigation for web
Add code splitting for web
Add storybook component in admin panel for mobile
Add boilerplates - Creating custom lib for this
Wait for compatible versions of react-native-web See this issue
The text was updated successfully, but these errors were encountered: