Features include:
- *Loading State Management*: Manages the loading state for you, removing the need for manual management. - *Error Handling*: Handles errors during data fetching, providing a unified way to deal with potential issues. - *Data Fetching Based on Dependencies*: Fetch data based on dependencies, similar to `useEffect`. - *Support for Synchronous and Asynchronous Functions*: Can work with both sync and async functions. - *Type-Safe*: The library is fully typed, offering strong TypeScript support.
Check it out here: [https://www.npmjs.com/package/@tobq/loadable](https://www.npmjs.com/package/@tobq/loadable)
Feel free to follow on twitter: [@tobi_akin](https://twitter.com/tobi_akin)
Feedback and suggestions are very welcome, as I'm hoping to make this as useful and practical for you all as possible.