- Easy to use package to write retry logic to promises
- Run an array of promises sequentially.
- lightweight package
- good if you're more familiar with moment.js syntax
- Some crypto denominations go beyond what vanilla javascript can handle
- formik and yup should be used together
- easy to build cross platform form validation (web & mobile)
First of all, eslint should be used
- run linting on staged files
- this is useful for large projects, where the alternative would be to run linting on all files, which would take a long time
- setup pre-commit hooks
This part assumes lint-staged
and husky
have been installed.
- After installation, create a
.husky/pre-commit
file with the following contents
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
npx lint-staged
- Personally, I also like to have a
pre-push
config to run jest tests before each push.
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
npx jest --coverage --passWithNoTests
These packages are for react native only
- note, this library uses JSI modules, follow the special installation instructions if using react-native-reanimated2
- secure storage using fast mmkv storage method
react-native-safe-area-context
- more versatile safe area package (versus the one that comes with react-native)
- easily scale components based on device screen size
- brings process.env support to react native