0.0.4 • Published 5 years ago

@nll/async-data-ts v0.0.4

Weekly downloads
1
License
MPL-2.0
Repository
github
Last release
5 years ago

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:

  1. I wanted to learn how gcanti et al were implementing HKT in typescript.
  2. I wanted to have a crack at it myself.
  3. I wanted to change the RemotePending data type to hold an Option of existing data so refreshing didn't clear data.
  4. I wanted to try some of the new rollup build tooling I've been playing with on a non-ui lib.
  5. I wanted to clear up some of the generics used so they were a little easier to reason about.

Documentation

Pending Test