Skip to content

Conversation

@AdrianAndersen
Copy link
Collaborator

@AdrianAndersen AdrianAndersen commented Oct 28, 2025

Bumped Next.js to v16.

Also enabled React Compiler, Cache Components and added some Activities where we have used traditional conditional rendering.

For now, I have ignored most of the new eslint react hooks errors, since the useEffects in is a bit of a nightmare right now. The result is that the compiler will just opt of of the components that do not follow the rules. Therefore, this should not be a problem, but rather an area that we can iterate on so that the compiler can optimize more and more of the code.

This PR will make it easier to fix the useEffects later, since we can use React 19.2s new shiny useEventEffect 🤩

@AdrianAndersen AdrianAndersen self-assigned this Oct 28, 2025
@AdrianAndersen AdrianAndersen added the Build Changes that affect the build system or external dependencies (example scopes: docker, next) label Oct 28, 2025
@AdrianAndersen AdrianAndersen moved this to In Review 🕵️ in rezervo Oct 28, 2025
@AdrianAndersen
Copy link
Collaborator Author

The CI build is failing due to:
Error: Missing environment variable: FUSIONAUTH_CLIENT_ID

@mathiazom u 👨🏻‍🔧 ?

@AdrianAndersen AdrianAndersen force-pushed the perf-next-16 branch 2 times, most recently from 429039b to b1f115d Compare November 21, 2025 11:40
@AdrianAndersen
Copy link
Collaborator Author

Up to date now 🤓

@AdrianAndersen
Copy link
Collaborator Author

Now with the RSC security patch 👀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Build Changes that affect the build system or external dependencies (example scopes: docker, next)

Projects

Status: In Review 🕵️

Development

Successfully merging this pull request may close these issues.

2 participants