Series · 4 parts · Series complete
React Native Foundations
The groundwork for a solid React Native project: API mocking, tiered secure storage, end-to-end testing, and a feature-first structure.
4 of 4 published
- Setting up MSW v2 in React Native Setting up Mock Service Worker v2 in React Native, from installation to a full set of handler scenarios: success, errors, timeouts and offline.
- React Native token storage: AsyncStorage vs SecureStore Tokens don't belong in AsyncStorage. How SecureStore, an encrypted store and AsyncStorage split the job in React Native, and what goes where.
- Detox + Cucumber BDD for React Native E2E testing Detox + Cucumber for React Native E2E. Step definitions, a custom formatter, parallel execution, and accessibility regression tests in plain Gherkin.
- Why I use feature-first project structure in React Native An argument for organising React Native projects by feature, not by type. The delete test, import boundaries, where shared code lives.