mirror of
https://github.com/react/react.git
synced 2026-10-05 11:21:38 +08:00
Previously, when props/state contained a regexp, it was shown as an empty object. This commit adds regexps as values in need of special rehydration (like Symbols or TypedArrays), and display them as a user might expect. Co-authored-by: Zirak <zirakertan@gmail.com>