[Redux-toolkit](https://redux-toolkit.js.org/) wrapper used to write less code regarding classic CRUD operations
npm install @thecodingmachine/redux-toolkit-wrapper
!Redux Toolkit Wrapper License
!Redux Toolkit Wrapper Version
!Redux Toolkit Wrapper Release Date
!Redux Toolkit Wrapper Download
!Redux Toolkit Wrapper Stars
!Redux Toolkit Wrapper Top Language
!Redux Toolkit Wrapper TypeScript
This project is a Redux-toolkit wrapper used to write less code regarding classic CRUD operations.
It's mainly used inside this RN Boilerplate : thecodingmachine/react-native-boilerplate
```
yarn add @thecodingmachine/redux-toolkit-wrapper
javascript
import {
buildAsyncState,
buildAsyncReducers,
buildAsyncActions,
} from '@thecodingmachine/redux-toolkit-wrapper'
import fetchOneUserService from '@/Services/User/FetchOne'export default {
initialState: buildAsyncState('fetchOne'),
action: buildAsyncActions('user/fetchOne', fetchOneUserService),
reducers: buildAsyncReducers({
errorKey: 'fetchOne.error', // Optionally, if you scoped variables, you can use a key with dot notation
loadingKey: 'fetchOne.loading',
}),
}
``This project is released under the MIT License.
TheCodingMachine is a web and mobile agency based in Paris and Lyon, France. We are constantly looking for new developers and team leaders and we love working with freelancers. You'll find an overview of all our open source projects on our website and on Github.