React Native App to simulate a Cricket inning.
The main purpose of creating this project is to showcase how we can follow a MVVM clean architecture in a React Native Project.
- 3 Layer Architecture
(ui | data | domain)uicontains code related to Reactcomponents/screensdatacontains code related to(httpclient | localstorage | localdatabase)domaincontains code related to(viewModel | reducers | actionCreator)i.e Business Logic
- React Hooks & Custom Hooks for implementing ViewModel
eg: useViewModel - TypeScript for defining Generic types through out the project.
- Various
HOCs&HOFsfor containing common code and maintaining reusabilityeg: withScreen | withPureScreen | withViewModelReducer
- Using Rest APIs for fetching data for app.
- Typescript Refactoring around action creator & reducer HOFs.
- Need to write unit test cases.
yarnyarn run iosoryarn run android
