-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
connect function bug ? #1480
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
Comments
Please provide a CodeSandbox project that reproduces the issue. Also, if you look at the error message, it says that React is having a problem using hooks. This usually occurs if you have more than one copy of React or React-Redux bundled into your application. |
Same here. Seems like |
As I said, there's little we can do without a project that demonstrates the problem. Realistically, it's much more likely that your build setup is wrong. |
Does this help? /**
* @format
*/
import React from 'react'
import { AppRegistry, View, Text } from 'react-native'
import { Provider } from 'react-redux'
import store from 'store'
import App from 'components/App'
const Index = Component => {
return (
<Provider store={store}>
<View>
<Text>Please</Text>
</View>
</Provider>
)
}
AppRegistry.registerComponent('TiketEventsMerchants', () => Index) |
Not really, no. That doesn't tell me anything about your project or build setup, and it's not something I can just run and see the problem in action. |
it seems version not compatible,i justify version,it's ok |
Ok, without any code to actually look through, I'm closing this for now. |
What is the current behavior?
i make a Modal,alert:
useage is :
my ComponentX inner use connect(state)。
in react-redux 7.1.0 is ok, bug react-redux 7.1.3 is not ok, error is follow:
Error: Minified React error #321; visit https://reactjs.org/docs/error-decoder.html?invariant=321 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
at Object.da (react-dom.production.min.js:3592)
it likes a bug?
The text was updated successfully, but these errors were encountered: