Advanced Features Demo
Experience advanced features like conditional fetching, dependencies, and SWR configuration options
Settings Control
Active SWR Keys
INACTIVEUser fetch disabled
INACTIVEDependent fetch disabled or waiting
ACTIVE/api/settings?type=public
Conditional Fetch
Fetch disabled
Dependent Fetch
Dependent fetch disabled
Configuration Comparison
Dynamic Key (deduping enabled)
Static Key (auto-update disabled)
How to Use This Demo
- • Enter User ID and enable fetch to see conditional fetching in action
- • Dependent fetch automatically executes after user data is retrieved
- • Toggle sensitive data display to see different cache keys in action
- • Check DevTools to observe key states and SWR configuration effects