{"repo":"aurorascharff/next16-calendar","free":true,"listed":false,"github":"https://github.com/aurorascharff/next16-calendar","clone":"git clone https://github.com/aurorascharff/next16-calendar.git","description":"A calendar and booking demo exploring Async React, Cache Components, Partial Prefetching , and View Transitions with Next.js 16.3, React 19, Tailwind CSS v4, and Prisma.","language":"TypeScript","stars":40,"topics":["app-router","async-react","cache-components","calendar","nextjs","optimistic-ui","prisma","react19","rsc","server-actions"],"license":null,"category":"productivity","readme_excerpt":"Next 16 Calendar \"Flow\" A calendar and booking-link workspace that demonstrates Instant Navigations in Next.js 16.3. Live demo → --- The architecture follows the Next.js App Architecture skill and the Component Architecture for React Server Components blog post. Features - Cache Components cache calendar weeks and booking-link data with 'use cache' , name the data with cacheTag , and set its lifetime with cacheLife , so repeated reads come from the cache until a tag is invalidated. - Partial Prefetching prefetches one shared App Shell per route. Calendar and booking links with prefetch={true} also resolve their date or view, including the cached content behind it while uncached data streams after navigation. - Hover-triggered prefetch upgrades only the mini-calendar date reached by pointer, keyboard focus, or touch intent, avoiding a separate prefetch for every date in view. - Server Functions run mutations — moving, creating, editing, and deleting events, and booking a slot — on the server and invalidate only the tags they change with updateTag . - React Compiler memoizes components automatically, so the code needs no manual useMemo / useCallback . - View Transitions cross-fade booking content and keep persistent calendar chrome stable as data streams in from Suspense. - Async React keeps the UI interactive with Suspense , useOptimistic , useTransition , useActionState , useFormStatus , and use . Getting started Flow runs on Postgres. Set DATABASE URL in .env.local , then: O","default_branch":null,"files":null,"tree":[],"storefront":"/r/aurorascharff","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/aurorascharff/next16-calendar/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}