Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

Latest commit

 

History

History
34 lines (23 loc) · 1.17 KB

File metadata and controls

34 lines (23 loc) · 1.17 KB

React Native Typescript Boilerplate

React Native Typescript Boilerplate

🍾 Redux Custom Service Usage

Features

  • Everything already setup for redux usage
  • Zero configuration, but configurable if needed
  • If you want to change / learn something about the redux configuration please check the Redux Service
  • There is a basic example which is User

Basic Example

UserService.setUserData(mockUserData); 
const userData = useSelector(
  (state: MainState) => state.user.userData as IUser,
);

Side Note

Of course, you can change the whole Redux usage structure. This one is just an example 👊