-
Notifications
You must be signed in to change notification settings - Fork 67
Open
Description
Is it possible to use this package with multiple stores? Or do you need a "root" store like in your examples?
I'd rather not have just a single store available for injecting like your example export default observer(['store'], Gallery);
My current setup with ReactRouter is along these lines (from memory so syntax might be off..)
export {
userStore,
imageStore,
}
import * as stores from "stores"
<Provider {...stores}>
<Route />
</Provider>, document.getElementById('root')
I couldn't get the startRouter to work with this type of setup. Any input?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels