-
Notifications
You must be signed in to change notification settings - Fork 49.2k
Closed
Labels
Component: DOMStatus: UnconfirmedA potential issue that we haven't yet confirmed as a bugA potential issue that we haven't yet confirmed as a bugType: Feature Request
Description
{1n}
should render 1. Instead it renders ''.
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
BenMusch, justingrant, jekh, Shu-Ji, codeholic and 1 more
Metadata
Metadata
Assignees
Labels
Component: DOMStatus: UnconfirmedA potential issue that we haven't yet confirmed as a bugA potential issue that we haven't yet confirmed as a bugType: Feature Request