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

Document usage without decorators #18

Open
kubk opened this issue Jan 15, 2021 · 5 comments
Open

Document usage without decorators #18

kubk opened this issue Jan 15, 2021 · 5 comments

Comments

@kubk
Copy link

kubk commented Jan 15, 2021

Readme file states that this library works without decorators:
image

Could you document how to use it without decorators? We are using Mobx 6 and decorators are turned off

@kirilldronkin
Copy link

Hi, inject utility isn't what you needed?

@kubk
Copy link
Author

kubk commented Jul 5, 2021

@kirilldronkin How can I use it with function components? The example only shows how to use it with class components.

@kirilldronkin
Copy link

useInstance hook is intended for usage in function components.

@kubk
Copy link
Author

kubk commented Jul 6, 2021

@kirilldronkin Thank you! I think this issue can be closed. Are you a maintainer of the project? Is it still alive?

@BrunnerLivio
Copy link

Is there also a way to use registerIn without decorators?

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

No branches or pull requests

3 participants