You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: documentation/docs/1_Introduction/1_1_RNBoilerplate.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,15 +43,15 @@ The driving goal of the architecture of the boilerplate is separation of concern
43
43
44
44
The boilerplate contains:
45
45
46
-
- a [React Native](https://facebook.github.io/react-native/) (v**0.63.3**) application (in "[ejected](https://github.com/react-community/create-react-native-app/blob/master/EJECTING.md)" mode to allow using dependencies that rely on native code)
46
+
- a [React Native](https://facebook.github.io/react-native/) (v**0.64.0**) application (in "[ejected](https://github.com/react-community/create-react-native-app/blob/master/EJECTING.md)" mode to allow using dependencies that rely on native code)
47
47
- a [clear directory layout](#directory-layout) to provide a base architecture for your application
48
48
-[Redux](https://redux.js.org/) (v**4.0.5**) to help manage state
49
49
-[Redux Persist](https://github.com/rt2zz/redux-persist) (v**6.0.0**) to persist the Redux state
50
50
-[React Navigation](https://reactnavigation.org/) (v**5**) to handle routing and navigation in the app, with a splash screen setup by default
51
-
-[redux toolkit](https://github.com/infinitered/reduxsauce) (v**1.4.0**) to make redux easier
52
-
-[axios](https://github.com/axios/axios) (v**0.20.0**) to make API calls
51
+
-[redux toolkit](https://github.com/infinitered/reduxsauce) (v**1.5.0**) to make redux easier
52
+
-[axios](https://github.com/axios/axios) (v**0.21.1**) to make API calls
53
53
-[prettier](https://prettier.io/) and [eslint](https://eslint.org/) preconfigured for React Native
54
-
-[react-native-flipper](https://fbflipper.com/) (v**0.62.0**) to debug react-native and [redux-flipper](https://github.com/jk-gan/redux-flipper) (v**1.3.2**) to debug redux
54
+
-[react-native-flipper](https://fbflipper.com/) (v**0.75.1**) to debug react-native and [redux-flipper](https://github.com/jk-gan/redux-flipper) (v**1.4.2**) to debug redux
55
55
56
56
The boilerplate includes an example (displaying fake user data) from UI components to the business logic. The example is easy to remove so that it doesn't get in the way.
Copy file name to clipboardExpand all lines: documentation/docs/3_Guides/3_4_ReduxStore.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -75,7 +75,7 @@ For each wrapped action, a reducer is associated.
75
75
76
76
## Redux-toolkit-wrapper
77
77
The boilerplate includes a [wrapper of redux-toolkit](https://github.com/thecodingmachine/redux-toolkit-wrapper) to make it easier to use. It provides three helpers.
78
-
If your are not familiar with redux-toolkit, please have a look at their [documentation](https://redux-toolkit.js.org/api/configureStore).
78
+
If you are not familiar with redux-toolkit, please have a look at their [documentation](https://redux-toolkit.js.org/api/configureStore).
79
79
80
80
### buildAsyncState
81
81
`buildAsyncState` create a loading and error state. You can scope it in a key.
@@ -121,7 +121,7 @@ Will generate:
121
121
122
122
Where fetchOneUserService is an async function.
123
123
So, when the fetchOneUserService is launched the action `user/fetchOne/pending` is dispatched.
124
-
When the fetchOneUserService is endded the action `user/fetchOne/fulfilled` is dispatched.
124
+
When the fetchOneUserService is ended the action `user/fetchOne/fulfilled` is dispatched.
125
125
When the fetchOneUserService throw an error the action `user/fetchOne/rejected` is dispatched.
console.log('- If you need to read more about this boilerplate : https://thecodingmachine.github.io/react-native-boilerplate/')
24
-
console.log('- If you have some troubles : https://github.com/thecodingmachine/react-native-boilerplate/issues')
25
-
console.log('- If you love this boilerplate, give us a star, you will be a ray of sunshine in our lives :) https://github.com/thecodingmachine/react-native-boilerplate')
0 commit comments