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

Feat/use subscribe to custom event #234

Merged
merged 3 commits into from
May 18, 2024
Merged

Conversation

abhushanaj
Copy link
Owner

useSubscribeToCustomEvent

Custom react hook to subscribe and manage lifecycle of custom events.

Tasks done

  • Add hook
  • Add test
  • Add docs
  • Add changelogs

Also updates the useDispatchCustomAction hook documentation to highlight the hook to be used in conjuction.

@abhushanaj abhushanaj self-assigned this May 18, 2024
Copy link

changeset-bot bot commented May 18, 2024

🦋 Changeset detected

Latest commit: a22f39a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@abhushanaj/react-hooks Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@abhushanaj abhushanaj merged commit 552d3c3 into main May 18, 2024
2 checks passed
@abhushanaj abhushanaj deleted the feat/useSubscribeToCustomEvent branch May 18, 2024 13:14
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.

None yet

1 participant