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 for React 19 #6520

Merged
merged 6 commits into from
Jan 13, 2025
Merged

feat: support for React 19 #6520

merged 6 commits into from
Jan 13, 2025

Conversation

aymeric-giraudet
Copy link
Member

@aymeric-giraudet aymeric-giraudet commented Jan 9, 2025

Summary

FX-3202

Result

Mostly type-related issues and had to remove @testing-library/react-hooks in favor of just @testing-library/react

fixes part of #6496

@aymeric-giraudet aymeric-giraudet requested review from a team, sarahdayan and shaejaz and removed request for a team January 9, 2025 10:38
Copy link

codesandbox-ci bot commented Jan 9, 2025

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 86a33c7:

Sandbox Source
example-instantsearch-getting-started Configuration
example-react-instantsearch-getting-started Configuration
example-react-instantsearch-next-app-dir-example Configuration
example-react-instantsearch-next-routing-example Configuration
example-vue-instantsearch-getting-started Configuration

Haroenv
Haroenv previously approved these changes Jan 10, 2025
@Haroenv Haroenv dismissed their stale review January 10, 2025 11:58

misread

@aymeric-giraudet
Copy link
Member Author

aymeric-giraudet commented Jan 10, 2025

@Haroenv I tested it on a Vite app with React 19 and it does solve this problem : #6426 (comment)

Now instead it uses React.JSX.Element :)

(also tested with React 18 and it still works as the namespace was already in the React module)

@aymeric-giraudet aymeric-giraudet enabled auto-merge (squash) January 13, 2025 10:41
@aymeric-giraudet aymeric-giraudet merged commit 3283795 into master Jan 13, 2025
14 checks passed
@aymeric-giraudet aymeric-giraudet deleted the feat/react-19 branch January 13, 2025 10:44
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