Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't call valueOf during string concatenation
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 uses String.concat (like Babel does) instead of `+`, which avoids this problem.
- Loading branch information