FLUTTER SWR EXAMPLE
Test stale-while-revalidate pattern with riverpod. Look; query_provider package
- Backend calls are made with ghibli-api
- Tested Provider.family to check if state are persisted in memory.
|Main Screen||Movie Screen|
- Riverpod setup with backend calls.
- Cache the service returned response.
- Add a way to invalidate and refetch the data.