Re:Beyond React 16 by Dan Ambramov – Async Rendering and Rea...
by acjohnson55 on Friday March 02, 2018 @01:22PM
(#16504255)
This seems to me like a workaround for the fact that React requires `render` methods to return React elements. And I suppose it also takes advantage of the fact that the `read` method can `throw` its way out of your `render` function, obviating the need to check its result and manually `return`. But not gonna lie, I'm pretty suspicious of overreliance on creative use of `throw`ing as something that is going to cross through application code's control flow. But perhaps it will prove convenient enough to be worth it.
[ Parent
| on HN ]
There are no comments on this comment yet.