1.0.4 • Published 6 months ago

@principlestudios/loadable v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

A simple structure indicating a value that may or may not be loaded, but also encapsulates a range of intermediate states, including:

  • Not yet loading
  • Error states
  • Loading with previous value
  • Loading with no previous value

Used for:

  • wrapping libraries for future compatability
  • interop across project boundaries
  • ensuring developers encapsulate all possible loading states in contract boundaries

This package also includes a few helpers for working with the structure, including creating the structure and unwrapping it while following functional design patterns.

1.0.4

6 months ago

1.0.2

1 year ago

1.0.3

1 year ago

1.0.1

2 years ago

1.0.0

2 years ago

0.0.1

2 years ago