react-async-hook
react-async-hook copied to clipboard
Use union for AsyncState type
This also removes the merge property and probably breaks this functionality
This is more of an idea than anything else, feel free to close this PR.
I'd like more guarantees over the type we are using to simplify the end TS code that uses this library.