mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
efd8f6442d
Minor follow up to initial onRecoverableError PR. When onRecoverableError is not provided to `createRoot`, the renderer falls back to a default implementation. Originally I implemented this with a host config method, but what we can do instead is pass the default implementation the root constructor as if it were a user provided one.