react/packages/react-test-renderer/src
Andrew Clark aa8266c4f7
Prepare placeholders before timing out (#13092)
* Prepare placeholders before timing out

While a tree is suspended, prepare for the timeout by pre-rendering the
placeholder state.

This simplifies the implementation a bit because every render now
results in a completed tree.

* Suspend inside an already timed out Placeholder

A component should be able to suspend inside an already timed out
placeholder. The time at which the placeholder committed is used as 
the start time for a subsequent suspend.

So, if a placeholder times out after 3 seconds, and an inner
placeholder has a threshold of 2 seconds, the inner placeholder will
not time out until 5 seconds total have elapsed.
2018-07-03 19:22:41 -07:00
..
__tests__ Fix this in a functional component for ShallowRenderer (#13144) 2018-07-03 17:47:40 +01:00
ReactShallowRenderer.js Fix this in a functional component for ShallowRenderer (#13144) 2018-07-03 17:47:40 +01:00
ReactTestHostConfig.js Prepare placeholders before timing out (#13092) 2018-07-03 19:22:41 -07:00
ReactTestRenderer.js Automatically Profile roots when DevTools is present (#13058) 2018-06-20 09:24:52 -07:00
ReactTestRendererScheduling.js [scheduler] 3/n Use a linked list instead of map and queue for callback storage (#12893) 2018-05-26 15:55:57 -07:00