Installation
You can simply clone the project and start with your barebone project
git clone git@github.com:WrathChaos/react-native-redux-boilerplate.git
What's Included ?
- Redux
- Redux Services
- Ready to use Styles
- NavigationService
- React Navigation v4
- React Navigation Helpers
- HTTP Network Management (Axios)
- Generic React Hooks API Request Service
- Babel Plugin Module Resolver to fix the relative path problem (visit .babelrc)
Components
NavigationService (Already set it up)
Styles
- colors
- fonts
- spacing
- theme
- font-size
Imports
import colors from "colors";
import fonts from "fonts";
import fontSize from "font-size";
import spacing from "spacing";
import theme from "theme";
if you want to call them all at once
import {colors, theme, spacing, fontSize, spacing, fonts } from "shared-styles/index";
ToDos
- [x] LICENSE
- [ ] Write an article about the lib on Medium
Author
FreakyCoder, kurayogun@gmail.com
License
React Native Redux Boilerplate is available under the MIT license. See the LICENSE file for more info.