Formik's latest patch update v2.4.2 which upgrades the internal types to support React 18 might be an accidental breaking change.
I'm on react v16 and @types/react pinned to v16.14.5 which is causing build failures due to type differences between v16 and v18.
Should this have been a breaking change?
Current Behavior
Builds failing with type errors:
Expected behavior
Continued support for React 16. Or the update to be mentioned as a breaking change.
Bug report
Formik's latest patch update
v2.4.2
which upgrades the internal types to support React 18 might be an accidental breaking change. I'm onreact
v16 and@types/react
pinned to v16.14.5 which is causing build failures due to type differences between v16 and v18. Should this have been a breaking change?Current Behavior
Builds failing with type errors:
Expected behavior
Continued support for React 16. Or the update to be mentioned as a breaking change.
Reproducible example
Suggested solution(s)
Document as a breaking change.
Additional context
Your environment