0.0.4 • Published 6 years ago
@nll/async-data-ts v0.0.4
AsyncData
This is a fork and rewrite of remote-data-ts. That library is very useful, as is the fp-ts suite provided by gcanti. This fork/rewrite of remote-data-ts exists because:
- I wanted to learn how gcanti et al were implementing HKT in typescript.
- I wanted to have a crack at it myself.
- I wanted to change the RemotePending data type to hold an Option of existing data so refreshing didn't clear data.
- I wanted to try some of the new rollup build tooling I've been playing with on a non-ui lib.
- I wanted to clear up some of the generics used so they were a little easier to reason about.
Documentation
Pending Test