State Management · Middle · Question 71 of 75
What is clientLoader in React Router framework mode?
- ✓Correct answer: A loader that runs in the browser - for client-only data or caching on top of the server loader
- 2A loader that runs only during build
- 3A component that shows loading spinners
Explanation
It can call the server loader via serverLoader() and add a client cache. With clientLoader.hydrate = true it also runs on initial load.