> This page is for Developer.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.bigcommerce.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.bigcommerce.com/_mcp/server.

## Composable Core course labs now use Next.js 16.4

The Composable Core course labs now match version 1.1.0 of the lab repository, which upgrades the Next.js storefront to Next.js 16.4.6 and adopts current React and Next.js patterns.

* **Form actions:** Add to Cart, registration, login, and logout now submit through `<form action>` with React's `useActionState`, replacing click and submit handlers with manually tracked loading state.
* **Generated route types:** Category and product pages use Next.js's generated `PageProps` types, and the root layout uses `LayoutProps`, instead of hand-written prop types.
* **Cookie handling:** The mini-cart and `getCurrentCustomer()` no longer delete invalid cookies while rendering, because Next.js only allows modifying cookies in Server Functions and Route Handlers. The secure cookie prefix is corrected to `__Secure-`.
* **Server-only modules:** The GraphQL client, cookie helpers, and `getCurrentCustomer()` are marked `server-only` so they can't be bundled into client code.
* **Cache Components callouts:** The lab project turns off the `cacheComponents` and `partialPrefetching` options that new Next.js projects enable by default. New callouts explain where a project with these options enabled would need `<Suspense>` boundaries for uncached fetches and runtime data such as `params`, `searchParams`, and cookies.
* **Node.js version:** The labs require Node.js 20 or later, and the lab repository defaults to Node.js 22.

For details, see the [Composable Core course](/developer/learn/courses/composable-core/overview/course-overview).