You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Similar to #1828, React 17 compatibility was broken with #1913 after being corrected in v1.27.0. Due to the issue resolved in v1.27.4, we are currently locked to v1.23.7.
ERROR in ../project/node_modules/@tanstack/react-form/dist/esm/useFormId.js 3:67-78
export 'useId' (imported as 'React') was not found in 'react' (possible exports: Children, Component, Fragment, Profiler, PureComponent, StrictMode, Suspense, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, cloneElement, createContext, createElement, createFactory, createRef, forwardRef, isValidElement, lazy, memo, useCallback, useContext, useDebugValue, useEffect, useImperativeHandle, useLayoutEffect, useMemo, useReducer, useRef, useState, version)
@ ../project/node_modules/@tanstack/react-form/dist/esm/useForm.js 9:0-43 21:25-34
@ ../project/node_modules/@tanstack/react-form/dist/esm/index.js 6:0-39 7:0-101
@ ..
Your minimal, reproducible example
I'm unable to re-create this in codesandbox using react-scripts
Steps to reproduce
Create new React 17 project using webpack
Install @tanstack/react-form@1.27.2
Attempt to use library
See crash
Expected behavior
Application is able to be built and run with React 17 and react-form v1.27.2+
Activity
LeCarbonator commentedon Jan 17, 2026
So this also affects latest? (1.27.7)?
LeCarbonator commentedon Jan 17, 2026
Possibly related to #1982
SavePointSam commentedon Jan 20, 2026
Yes, it impacts 1.27.2 to latest (1.27.7)
LeCarbonator commentedon Jan 21, 2026
Does the linked PR fix it? The PR author hasn't responded yet, but you can try the PR version locally:
SavePointSam commentedon Jan 27, 2026
Yes, I can confirm this version of the package resolves my issue
SavePointSam commentedon Feb 11, 2026
@LeCarbonator Can we get the PR merged and released?
[-]react-form breaking change present in v1.27.2[/-][+]Breaks in React 17 project using webpack[/+]crutchcorn commentedon Feb 13, 2026
Should be fixed in 1.28.1