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.
screens
main screen | movie screen |
---|---|
checklist
- riverpod setup with backend calls.
- cache the service returned response.
- add a way to invalidate and refetch the data.
Comments are closed.