mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
42b75ab007
This adds a 'SuspenseCallback' feature flag. When the property is set on a suspense component it will be called during the commit phase with a set of the immediate thenable for this component. This will allow user code to build runtime tracing of the cause for a suspense boundary.