Mobx uses how to initialize store?

how does mobx initialize store, because I want to get the data from the background, but in some components, how do I initialize it in store? do I new, in the root node of the project, app.jsx, and then call mobx"s action?

Mar.01,2021

1. Create a new file that defines the initialization of store, and then introduces
2 components that need to use store in the root directory. Just inject it directly

Menu