-
-
Notifications
You must be signed in to change notification settings - Fork 32.8k
Closed
Labels
integration: nextjsNext.jsNext.js
Description
Summary
With the release of Next.js 16, the AppRouterCacheProvider does not have a compatible version.
Looking at the source code for the v15, I think a new implementation would be needed due to client/server errors.
I would get the follow error:
Functions cannot be passed directly to Client Components unless you explicitly expose it by marking it with "use server".
The part it complained about was ... component={function LinkComponent} ...
Examples
Current latest version https://github.com/mui/material-ui/tree/master/packages%2Fmui-material-nextjs%2Fsrc%2Fv15-appRouter which links to a v13 version.
Motivation
Upgrading to Next.js 16 doesn't appear to be possible without a change
Search keywords: Next.js, material-nextjs, 16
Fibn007, jared-craig, jy95, royce-mathew, eliw00d and 36 morejadsonlourenco and winkcor
Metadata
Metadata
Assignees
Labels
integration: nextjsNext.jsNext.js