@ozanmanav/react-native-boilerplate-ts
Version:
TheCodingMachine React Native Boilerplate With Typescript
10 lines (7 loc) • 313 B
text/typescript
import { buildSlice } from '@thecodingmachine/redux-toolkit-wrapper'
import FetchOne from './FetchOne'
// This state is common to all the "user" module, and can be modified by any "user" reducers
const sliceInitialState = {
item: {},
}
export default buildSlice('user', [FetchOne], sliceInitialState).reducer