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

Add usePlugin hook #51

Merged
merged 5 commits into from
Jan 3, 2025
Merged

Conversation

EgoMoose
Copy link
Contributor

@EgoMoose EgoMoose commented Dec 30, 2024

This PR adds a new hook which provides the plugin value passed to the plugin provider.

I suppose you could write your own context and access it that way, but I feel as though this is much more convenient. That said, maybe you have a specific reason or opinion on keeping this private?

@EgoMoose EgoMoose changed the title Add plugin context access Add usePlugin hook Jan 2, 2025
@sircfenner
Copy link
Owner

Thanks! I agree that it makes sense to expose it this way.

@sircfenner sircfenner merged commit 9aa81ef into sircfenner:main Jan 3, 2025
1 check 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