Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught ReferenceError: Context is not defined. #7

Open
chitgoks opened this issue Feb 4, 2020 · 0 comments
Open

Uncaught ReferenceError: Context is not defined. #7

chitgoks opened this issue Feb 4, 2020 · 0 comments

Comments

@chitgoks
Copy link

chitgoks commented Feb 4, 2020

Not sure what this means.

Error: KV Store:
 Uncaught ReferenceError: dataStore Context is not defined.
Please check the connect method of the wrapped App component.
▶ 19 stack frames were collapsed.
Module../src/index.js

   4 | import App from './App';
   5 | import * as serviceWorker from './serviceWorker';
   6 | 
>  7 | ReactDOM.render(<App />, document.getElementById('root'));


This is my code

  const store = createStore({
    dataStore: {
      test: null
    }
  });
export default connect(App, ['dataStore']);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant