reason-async-hook
reason-async-hook copied to clipboard
A simple hook for sane promise handling in ReasonReact
```reason [@react.component] let make = ( ~state: AsyncHook.state('a, 'e), ~refetch, ~renderLoader=() => , ~children, (), ) => { switch (state) { // TODO figure out what to do better with...
just to manage the pagination state, will add more info later
This PR will add a demo
@fakenickels told me this was lacking a demo and I'd be willing to help the project building one. Is anyone working on this already?