Managing Data with React Router
Learning Objectives
By the end of this chapter, you will be able to do the following:
- Use React Router to fetch or send data without using
useEffect()
oruseState()
- Share data between different routes without using React’s context feature
- Update the UI based on the current data submission status
- Create page and action routes
- Improve the user experience by deferring the loading of non-critical data