Skip to content

Conversation

@heath-freenome
Copy link
Member

Reasons for making this change

Fixed issue where the new hooks were failing next 15 server builds when importing @rjsf/utils

  • Updated the new v6 hooks to add use client to them so that NextJS 15 doesn't fail on server-side builds

Checklist

  • I'm updating documentation
  • I'm adding or updating code
    • I've added and/or updated tests. I've run npx nx run-many --target=build --exclude=@rjsf/docs && npm run test:update to update snapshots, if needed.
    • I've updated docs if needed
    • I've updated the changelog with a description of the PR
  • I'm adding a new feature
    • I've updated the playground with an example use of the feature

Fixed issue where the new hooks were failing next 15 server builds when importing `@rjsf/utils`
- Updated the new v6 hooks to add `use client` to them so that NextJS 15 doesn't fail on server-side builds
@heath-freenome heath-freenome merged commit 47c8513 into rjsf-team:main Nov 10, 2025
5 checks passed
@heath-freenome heath-freenome deleted the fix-server-side-utils-break branch November 10, 2025 22:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants