cefn / lauf

Monorepo for lauf packages.
MIT License
5 stars 0 forks source link

Consider emulating RTK Query loading model #132

Open cefn opened 3 years ago

cefn commented 3 years ago

Could be a nice utility library to create an RTK-style loading model as a single simple Typescript interface, to define a Store type around it (which could be derived as a Partitioned Store to handle just one specific item's async retrieval within a larger, more complex store) and a utility async behaviour and react hook so that people can easily use it.