Update readme.md

parent dece2182
......@@ -2,12 +2,12 @@
## Quick Links
- [Redux Toolkit](<[https://redux-toolkit.js.org/tutorials/basic-tutorial](https://redux-toolkit.js.org/tutorials/basic-tutorial)>)
- [React native maps](<[https://github.com/react-native-community/react-native-maps](https://github.com/react-native-community/react-native-maps)>)
- [React native elements](<[https://react-native-elements.github.io/react-native-elements/docs/overview](https://react-native-elements.github.io/react-native-elements/docs/overview)>)
- [React navigation](<[https://reactnavigation.org/docs/getting-started/](https://reactnavigation.org/docs/getting-started/)>)
- [Font Awesome (Icons)](<[https://fontawesome.com/icons?d=gallery](https://fontawesome.com/icons?d=gallery)>)
- [Google Maps styling wizard](<[https://mapstyle.withgoogle.com/](https://mapstyle.withgoogle.com/)>)
- [Redux Toolkit](https://redux-toolkit.js.org/tutorials/basic-tutorial)
- [React native maps](https://github.com/react-native-community/react-native-maps)
- [React native elements](https://react-native-elements.github.io/react-native-elements/docs/overview)
- [React navigation](https://reactnavigation.org/docs/getting-started/)
- [Font Awesome (Icons)](https://fontawesome.com/icons?d=gallery)
- [Google Maps styling wizard](https://mapstyle.withgoogle.com/)
## React
......@@ -50,14 +50,10 @@ See `theme.ts`. Use the default exported theme object for colors and spacing (`p
We are using [Redux Toolkit](<[https://redux-toolkit.js.org/tutorials/basic-tutorial](https://redux-toolkit.js.org/tutorials/basic-tutorial)>). For each _slice_ of the store, break the code into up to 4 files:
- Caches**State**
Put TypeScript types here, including the interface of the _slice_
- Caches**Slice**
_Slice_ is the new terminology for _reducer_. It represents an independent part of the redux store. In this file, export the slice as default. Export the actions here too if there is no need for an **Actions** file.
- Caches**Actions**
Put any actions that operate on the _slice_'s state in this file. You can export the _slice_'s actions here and create new ones that are more complex (ie. _thunks_)
- Caches**Selectors**
Selectors are functions that efficiently extract parts of the _slice_'s state for external use. Put them all in this file.
- Caches**State**: Put TypeScript types here, including the interface of the _slice_
- Caches**Slice**: _Slice_ is the new terminology for _reducer_. It represents an independent part of the redux store. In this file, export the slice as default. Export the actions here too if there is no need for an **Actions** file.
- Caches**Actions**: Put any actions that operate on the _slice_'s state in this file. You can export the _slice_'s actions here and create new ones that are more complex (ie. _thunks_)
- Caches**Selectors**: Selectors are functions that efficiently extract parts of the _slice_'s state for external use. Put them all in this file.
For components that need to interact with redux, use the `useSelector` and `dispatch` hooks:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment