sb-admin-react icon indicating copy to clipboard operation
sb-admin-react copied to clipboard

How to add Mobx ?

Open tonyalaribe opened this issue 7 years ago • 1 comments

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

tonyalaribe avatar Dec 02 '17 14:12 tonyalaribe

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.

sarika01 avatar Dec 04 '17 07:12 sarika01