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

RangeError: Maximum call stack size exceeded #3956

Closed
arslansajid opened this issue Feb 29, 2024 · 1 comment
Closed

RangeError: Maximum call stack size exceeded #3956

arslansajid opened this issue Feb 29, 2024 · 1 comment

Comments

@arslansajid
Copy link

Bug report

After migrating from v1 to v2, I am facing the error:
RangeError: Maximum call stack size exceeded

Current Behavior

image

Expected behavior

The typecheck should pass and there should not be an error related to RangeError: Maximum call stack size exceeded

Additional context

Very hard to debug as the problem could be anywhere.

Your environment

Software Version(s)
Formik 2.4.5
React 18.2.0
TypeScript 4.9.4
Browser Chrome, Safari, Firefox
npm/Yarn yarn
Operating System MacOs Ventura 13.3
@arslansajid
Copy link
Author

Looks like the crash issue is caused by Typescript and the bug is not in Formik, hence closing this bug ticket.

TS bug reported here: microsoft/TypeScript#57786

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant