Wraps an async data loader and renderer into a single effectful component function.
The input type.
The output type.
The error type.
A function that loads the data asynchronously.
A function that renders a DOM node from the loaded data.
A function that takes input and returns a DOM-producing Effect.
Wraps an async data loader and renderer into a single effectful component function.