Skip to content

This app is a part of an article Errors Handling with RN Notificated. Presents few approach to errors handling in modern react native apps.

License

Notifications You must be signed in to change notification settings

TheWidlarzGroup/errors-handling-with-notificated

Repository files navigation

react-native-notificated twg

Example of handling errors in React Native app.
Part of an article "Errors handling with RN Notificated".


Description

This app is a part of an article Errors handling with RN Notificated. Presents few approach to errors handling in modern react native apps, and show how to use:

  • react-native-notificated
  • react-error-boundary
  • axios interceptors
  • try catch block


Installation:

  • Clone the repo
  • Run yarn from the root
  • Run cd ios && pod install && cd ..
  • Run the metro with yarn start
  • Open the app either in a simulator with yarn ios / yarn android or on a physical device

Checkpoints:

  • Checkpoint #1 - describe most common errors type in react native app
  • Checkpoint #2 - handle component render method errors with react-error-boundary library
  • Checkpoint #3 - handle events errors with try catch block
  • Checkpoint #4 - handle SSR errors with axios interceptors
  • Checkpoint #5 - errors handling with react-native-notificated

About

This app is a part of an article Errors Handling with RN Notificated. Presents few approach to errors handling in modern react native apps.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published