Skip to content

Commit

Permalink
Add "hydrationOptions" behind the enableSuspenseCallback flag (#16434)
Browse files Browse the repository at this point in the history
This gets invoked when a boundary is either hydrated or if it is deleted
because it updated or got deleted before it mounted.
  • Loading branch information
sebmarkbage authored Aug 19, 2019
1 parent 9a7a22e commit 4edd7b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ReactTestRenderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,7 @@ const ReactTestRendererFiber = {
container,
isConcurrent ? ConcurrentRoot : LegacyRoot,
false,
null,
);
invariant(root != null, 'something went wrong');
updateContainer(element, root, null, null);
Expand Down

0 comments on commit 4edd7b0

Please sign in to comment.