isotoma / react-cognito

Library for integrating Facebook React and Amazon Cognito
Apache License 2.0
116 stars 48 forks source link

Example errors out with "Cannot read property 'connect' of undefined" #6

Closed iguana closed 6 years ago

iguana commented 7 years ago

I updated config.json, then I ran:

npm run examples

Then tried to serve examples/htdocs via static http.

bundle.js:106 Uncaught TypeError: Cannot read property 'connect' of undefined
    at bundle.js:106
    at bundle.js:10
    at bundle.js:13
xiaobaiczq commented 7 years ago

I have the same issue ,do you handle this problem?

kellyjanderson commented 7 years ago

Either react-redux is not installed or the code referencing connect did not import { connect } from 'react-redux'

dibell commented 6 years ago

examples moved to react-cognito-example