- authjs v5
- consider auth strategy of rewrite in middleware
- https://github.com/chronark/unkey/blob/main/apps/web/middleware.ts
- https://nextjs.org/docs/app/api-reference/components/link#middleware
- https://next-auth.js.org/configuration/nextjs#middleware
- also consider (ideal?) use case:
- nav to /progress
- opens login dialog (reiterating attempted action that needs it [progress])
- think through client-side caching of dynamically rendered server components
- vercel/next.js#42991
- https://nextjs.org/docs/app/building-your-application/routing/linking-and-navigating#client-side-caching-of-rendered-server-components
- https://nextjs.org/docs/app/building-your-application/routing/linking-and-navigating#conditions-for-soft-navigation
- https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic-rendering#dynamic-functions
- consider how we keep
pg
in sync with@vercel/postgres
which ultimately emulates it. - bug: invalid dom nesting div inside p of ui card component.