Bug: BigInt does not get toString()'d when rendered #20492
Labels
Component: DOM
Status: Unconfirmed
A potential issue that we haven't yet confirmed as a bug
Type: Feature Request
It looks like 'bigint' just needs adding here: https://github.com/facebook/react/blob/master/packages/react-dom/src/client/ToStringValue.js#L26.
Happy to raise a PR or take guidance on a better approach.
React version: all
Steps To Reproduce
Link to code example: https://codepen.io/boyne/pen/vYXJWVr
The current behavior
Renders ""
The expected behavior
Renders 1
The text was updated successfully, but these errors were encountered: