https://linen.dev logo
I get a runtime error: `Uncaught Invariant Violati...
# react
s
I get a runtime error:
Uncaught Invariant Violation: Could not find "store" in the context of "Connect(MyView)". Either wrap the root component in a <Provider>, or pass a custom React context provider to <Provider> and the corresponding React context consumer to Connect(MyView) in connect options.
For:
Copy code
ReactDOM.render(jsx('
    <Provider store=${store}>
        <MyView />
    </Provider>
 '), Browser.document.getElementById('app'));
And I'm not sure why... haxelib:/react-next#1.116.0