Bug: Rendering a variable in jsx within a functional component that is a bigint
throws type error
#24716
Labels
Status: Unconfirmed
A potential issue that we haven't yet confirmed as a bug
React (and ReactDOM) version:
"^18.1.0"
TypeScript version:
"^4.7.3",
Steps To Reproduce
Link to code example:
The current behavior
Throws type error. Converting the bigint -> string via
.toString()
removes the errorThe expected behavior
Should not throw an error
The text was updated successfully, but these errors were encountered: