Skip to content

feat: support react 19#654

Draft
huyenltnguyen wants to merge 3 commits intofreeCodeCamp:mainfrom
huyenltnguyen:feat/support-react-19
Draft

feat: support react 19#654
huyenltnguyen wants to merge 3 commits intofreeCodeCamp:mainfrom
huyenltnguyen:feat/support-react-19

Conversation

@huyenltnguyen
Copy link
Member

Checklist:

TODOs:

@socket-security
Copy link

socket-security bot commented Aug 30, 2025

No dependency changes detected. Learn more about Socket for GitHub.

👍 No dependency changes detected in pull request

@huyenltnguyen huyenltnguyen force-pushed the feat/support-react-19 branch from 74cc18d to e3b31f9 Compare August 30, 2025 22:56
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a temporary solution.

CI failed for the React 19 matrix because hook tests used @testing-library/react-hooks, which internally calls ReactDOM.render — a function removed in React 19. This caused TypeError: ReactDOM.render is not a function in tests.

Once /learn is upgraded to React 19. I'll update the library to drop support for older React versions and remove this test util.

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.

1 participant