Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support react 19 #983

Merged
merged 1 commit into from
Dec 10, 2024
Merged

feat: support react 19 #983

merged 1 commit into from
Dec 10, 2024

Conversation

YvesRijckaert
Copy link
Contributor

@YvesRijckaert YvesRijckaert commented Dec 10, 2024

Description

Second attempt to support react 19 and Next 15. The previous PR (#980) caused issues in projects using Next.js 14. The following issue appeared:
Screenshot 2024-12-10 at 09 19 37
The current build config only marks 'react' as external, but now we also mark the other React submodules.

Fixes: #778

Testing

  • Next version 14 with React 18 and pages router (caused issues, fixed now)
  • Next version 14 with React 18 and app router
  • Next version 15 with React 19 and pages router
  • Next version 15 with React 19 and app router

@YvesRijckaert YvesRijckaert marked this pull request as ready for review December 10, 2024 09:42
@YvesRijckaert YvesRijckaert merged commit a33ebe2 into main Dec 10, 2024
5 checks passed
@YvesRijckaert YvesRijckaert deleted the feat/support-react-19 branch December 10, 2024 10:15
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.

Compatibility with Next.js 15 and React 19
2 participants