Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert to string before 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 ensures that values are converted to strings before concatenation is attempted with `+`.
- Loading branch information