@dmitry.olyenyov/remote-data
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

remote-data

This is an abstraction over remote data that needs to be fetched from backend. It based on "Slaying UI Antipattern In X" article

NPM JavaScript Style Guide

Install

yarn add @dmitry.olyenyov/remote-data

Usage

let data = initialized();

data = success("server response");

data = failure(someError);

License

MIT © Dema

Readme

Keywords

none

Package Sidebar

Install

npm i @dmitry.olyenyov/remote-data

Weekly Downloads

9

Version

0.0.1

License

MIT

Unpacked Size

86 kB

Total Files

23

Last publish

Collaborators

  • dmitry.olyenyov