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.
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.