You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The new Temporal (https://github.com/tc39/proposal-temporal)
date/time API (currently stage 3)
will throw when calling `valueOf` on instances of most Temporal types.
This behavior breaks react-dom's rendering of Temporal instances because
the current implementation relies on the `+` operator which calls
`valueOf`.
This commit ensures that values are converted to strings before concatenation
is attempted with `+`.
0 commit comments