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

Injection key not exported #1251

Open
marr opened this issue Oct 8, 2022 · 2 comments
Open

Injection key not exported #1251

marr opened this issue Oct 8, 2022 · 2 comments
Labels
discussion question Further information is requested

Comments

@marr
Copy link

marr commented Oct 8, 2022

I am trying to write a plugin, and would like to use the injected map instance. Looking through the source, I couldn't find the key exposed. Using 'map' as the key does not work. Consider accepting the key as a prop, or publishing the key in the package.

@vinayakkulkarni
Copy link
Owner

AFAIK, the provide() fn should make the map variable available across the application(s) right?

@vinayakkulkarni vinayakkulkarni added question Further information is requested discussion labels Mar 9, 2023
@Oddwerth
Copy link

Hello, i'm having the same issue, the MapKey injection key is not exported, so we can't inject in a component

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants