Giter Club home page Giter Club logo

Comments (3)

MiniMarker avatar MiniMarker commented on July 1, 2024 2

This is still an issue, any updates to this?

from flex-ui-sample.

tomsabin avatar tomsabin commented on July 1, 2024

I didn't have exactly the same issue as you but instead I was receiving this error when loading the webpage for the first time:

Failed to initialize Flex Invariant Violation: Could not find "store" in either the context or props of "Connect(t)". Either wrap the root component in a <Provider>, or explicitly pass "store" as a prop to "Connect(t)".

This is caused by using a version of react-redux that is >v6.0.0 which introduces a breaking change with the store prop. I had previously installed the packages with npm install redux react-redux --save which installed react-redux v7.1.0.

This was resolved by installing react-redux v5.1.1 instead.

For visibility, here's the App.js, index.js and package.json files: https://gist.github.com/tomsabin/23b689a1293a73d97ba74361462db255

from flex-ui-sample.

AdrianaPineda avatar AdrianaPineda commented on July 1, 2024

Hey @swarnimsuman, @tomsabin is correct. Can you make sure you are using react-redux version ^5.0.6?

from flex-ui-sample.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.