Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hook Improvements (useFetch and useClickOutside) #9

Merged
merged 1 commit into from
Jan 21, 2025

Conversation

manjushsh
Copy link
Contributor

What type of change does this PR introduce?

(Please check all that apply)

  • 🐛 Bug Fix: Fixes a bug or issue.
  • New Feature: Adds a new feature or functionality.
  • 📚 Snippet Related: Contributes a code snippet.
  • ⚙️ Other (please describe):

Summary of Changes

  1. Improves useFetch hook to support all type of requests with addition of options param.
  2. Added import stements to make easier for user to use code.

Checklist

Before submitting your pull request, make sure you’ve done the following:

  • My code follows the project’s guidelines and formatting rules.
  • I’ve thoroughly tested my changes.
  • (for snippets) All folder and file names use the correct casing (e.g., lowercase for languages, kebab-case for categories/files).
  • (for snippets) My changes do not duplicate existing functionality or content.
  • I’ve provided a detailed summary of the changes and their purpose.

@manjushsh manjushsh changed the title (improvement): Update useFetch to support ooptions(body etc), Added i… Hook Improvements (useFetch and useClickOutside) Jan 21, 2025
@itsbrunodev
Copy link
Owner

Thanks for these useful changes!

@itsbrunodev itsbrunodev merged commit 0b82e30 into itsbrunodev:main Jan 21, 2025
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants