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

How to add Mobx ? #44

Open
tonyalaribe opened this issue Dec 2, 2017 · 1 comment
Open

How to add Mobx ? #44

tonyalaribe opened this issue Dec 2, 2017 · 1 comment

Comments

@tonyalaribe
Copy link

Your client.js is quite complicated, so i dont know how to add mobx provider,

@sarika01
Copy link
Contributor

sarika01 commented Dec 4, 2017

You could declare the store in the run function in client.js. Then pass it to the render attribute function used at UniversalRouter statement.
In the render function you can pass this store to the component.

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

2 participants