Import store using createContex mobximport store as props createContext mobx

43 views Asked by At

there is a class that unites all classes of the store. You need to pass this class to app.js so that you can get it in any of the files using createContext

1

There are 1 answers

0
Richard Rublev On

I suppose that your using React. React Context will help you to manage state when you build you apps. Context

Kent Dodds has given nice work in this presentation,must read.

And here is Russian translation.