@@ -17,7 +17,7 @@ We use them because they are often used by the community, very trendy and easy t
1717## How is it used in this boilerplate ❓
1818
1919** For the RTKQuery side** , all is located in ` Services ` .
20- You will find ` api.js ` file that contain the declaration of the
20+ You will find ` api.js ` file that contains the declaration of the
2121[ fetchBaseQuery] ( https://redux-toolkit.js.org/rtk-query/api/fetchBaseQuery )
2222customized with an interceptor
2323and the [ createApi] ( https://redux-toolkit.js.org/rtk-query/api/createApi )
@@ -47,7 +47,7 @@ Next to the `Services/api.js` file you have a `modules` folder. Each module
4747corresponds to an entity type and will inject endpoints
4848into the exported ` api ` const of ` Services/api.js `
4949
50- For exemple , next the user services :
50+ For example , here are the user services :
5151``` javascript title="src/Service/modules/users/index.js"
5252 import { api } from ' ../../api'
5353 import fetchOne from ' ./fetchOne'
@@ -69,7 +69,7 @@ For exemple , next the user services :
6969 })
7070```
7171
72- Next, in your containers it could be use like this :
72+ Then in your containers it could be use like this :
7373
7474``` javascript
7575import React , { useState , useEffect } from ' react'
@@ -104,14 +104,14 @@ const ExampleContainer = () => {
104104export default ExampleContainer
105105```
106106
107- Next, the RTKQuery is linked to the redux store in order to make it work and be debuggable with Flipper.
107+ The RTKQuery is linked to the redux store in order to make it work and be debuggable with Flipper.
108108
109109::: info
110110See the [ API usage] ( https://redux-toolkit.js.org/rtk-query/overview ) for more information
111111:::
112112
113113
114- ** For the redux-toolkit side** , we use it to configure all the store and saved the default theme of the application.
114+ ** On the redux-toolkit side** , we use it to configure all the store and save the default theme of the application.
115115
116116For example, the storing of the favorite theme of the user
117117``` javascript
0 commit comments