• v1.2.6 8740655a95

    v1.2.6 Stable

    CosmicCoder-sudo released this 2023-07-24 18:02:24 +03:00 | 60 commits to main since this release

    n this release, we made significant updates to our useFetch custom React hook and its associated documentation. These changes will help to improve the experience of developers who use this hook in their projects. Here are the details:

    Enhancements to the useFetch Hook: The hook now utilizes the AbortController interface to provide a way to cancel fetch requests. This change helps to prevent memory leaks and unexpected behavior in your applications when components unmount while a fetch is still pending.

    Inclusion of Loading States: We've added loading states to our hook. This will enable developers to display appropriate loading UIs to users while a fetch request is pending.

    Error Handling: The hook now has improved error handling capabilities, making it easier for developers to catch and deal with fetch errors.

    Updated Documentation: We've overhauled our documentation for the useFetch hook. The new docs provide clear usage examples and offer a deep dive into the hook's inner workings, enabling developers to better understand and utilize it.

    We believe these updates will greatly improve your experience when working with our useFetch hook. As always, we look forward to your feedback and appreciate your continued support.

    Downloads