1.0.3 • Published 1 year ago
ace-rn v1.0.3
ACE - RN
A very simple CLI tool to generate the Ultimate React Native starter kit. This is a very basic CLI with no options to help developers start creating the project with already built-in production ready features in a matter of seconds. Just disable or remove any unnecessary (not needed feature from the code of the project).
The starter kit provides:
- A good/clean pattern/architecture: UI calls service => service dispatches a transaction to store => middleware gets transaction from store and dispatches to thunk => thunk sends request and updates store => middleware removes transaction from store => UI uses selector logger implicit (if all gonna be passing by transaction reducer, we add logger there) performance implicit also (inside transaction).
- Testable components / screens.
- Already configured fonts.
- Already configured icons.
- Redux toolkit, redux persist, thunks all typed.
- Offline notice.
- Full screen.
- RTL support
- Sentry.
- I18n.
- Theming with color schemes (exp. dark mode).
- Network service with DI, provider configurable with token&refresh, cancel token, interceptors and error handling.
- Environment variables already configured.
- Global loader: middleware to detect loading then add it to global slice or dispatch directly to global reducer from UI.
- Global error: service => thunk (reject) => middleware (dispatch global error) => state updated by thunk => UI toast selector.
- Rollback transactions options in case of failure.
- Singletons that are used to store critical info in memory but not persisted.
- Logger per API (allowed APIs for logging + allowed levels) / per user implicit (no need to add it by developers) and Networking requests logs.
- Performance: implicit: inside logger with a reference to message. More features to be added later...
Please visit the project repo for more details, clarifications or issues.