-
Notifications
You must be signed in to change notification settings - Fork 13
Description
Description
@yext/search-ui-react currently supports React 16, 17, and 18 but not React 19. React 19 was released on December 5, 2024, and has been available for almost a year.
Current Behavior
Projects using React 19 cannot install @yext/search-ui-react due to dependency constraints that exclude React 19.
Expected Behavior
The library should support React 19, allowing it to be used in projects built with the latest version of React.
Motivation
-
New project adoption: Projects started in 2025 are increasingly using React 19. Without support, developers cannot leverage this library in new projects, as starting with an actively unsupported version like React 18 is not advisable for new development.
-
Framework upgrade blockers: Major frameworks now require React 19:
- Next.js 15 requires React 19
Sitecore XM CloudSitecore AI JSS 22.7 requires React 19
This makes it difficult or impossible for existing projects to upgrade their dependencies and frameworks while continuing to use
@yext/search-ui-react. -
Framework compatibility constraints: Many popular frameworks now support React 19, and projects using these frameworks may choose to adopt React 19 to take advantage of new features and optimizations:
- React Router v7 supports React 18 and 19
- TanStack Start supports React 18.x and 19.x
- RedwoodJS v8.3.0+ supports React 19
- Next.js 15 requires React 19
- Astro supports React 19 in its React integration
Projects using these frameworks with React 19 would be unable to use
@yext/search-ui-react, limiting their component library choices. -
Ecosystem compatibility: As more libraries in the React ecosystem adopt React 19, maintaining compatibility with older versions creates increasing friction for developers.