Skip to content

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