3 ms·
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 fac
by acjohnson55 9y ago
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.