4 ms·
I believe throwing and catching exceptions over and over as part of normal rendering is the sort of thing that would be disastrous for performance, certainly th
by alangpierce 8y ago
I believe throwing and catching exceptions over and over as part of normal rendering is the sort of thing that would be disastrous for performance, certainly the sort of thing that the React authors would really want to avoid.
- sorahn 8y agoThe new suspense api is based on throwing and catching promises as part of the render, so I don’t think its that.
- danabramov 8y agoSuspense only uses throwing when it's blocked on network. There is huge difference between doing this once every few seconds, and doing this thousands of times per second.