feat: refresh buttons invalidate cache and show spinner during refresh
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 1m56s
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 1m56s
- Add revalidateForRefresh(scope, id) server action for home/library/series - Library/Series wrappers: revalidate cache then router.refresh(), 400ms delay for animation - Home: revalidate home-data + path before refresh - RefreshButton uses refreshLibrary from RefreshContext when not passed as prop - Library/Series pages pass id to wrapper for context and pull-to-refresh - read-progress: pass 'max' to revalidateTag for Next 16 types Made-with: Cursor
This commit is contained in:
@@ -36,7 +36,7 @@ export default async function SeriesPage({ params, searchParams }: PageProps) {
|
||||
]);
|
||||
|
||||
return (
|
||||
<SeriesClientWrapper>
|
||||
<SeriesClientWrapper seriesId={seriesId}>
|
||||
<SeriesContent
|
||||
series={series}
|
||||
books={books}
|
||||
|
||||
Reference in New Issue
Block a user