Giter Site home page Giter Site logo

Comments (10)

babay123 avatar babay123 commented on May 17, 2024 4

You can overwrite react version for react-vis adding this in package.json

 "overrides": { 
    "react-vis": {
      "react": "^17.0.2"
    }
  }

Example:

{
  "dependencies": {
    "react": "^17.0.2",
    "react-dom": "^17.0.2",
    "react-vis": "^1.11.7"
  },
  "overrides": {
    "react-vis": {
      "react": "^17.0.2",
      "react-dom": "^17.0.2"
    }
  }
}

from react-vis.

McleanWorkshield avatar McleanWorkshield commented on May 17, 2024 1

@babay123 -- Much appreciated!!

from react-vis.

josephecombs avatar josephecombs commented on May 17, 2024 1

I also needed to override react-dom:

  "overrides": {
    "react-vis": {
      "react": "^17.0.2",
      "react": "^17.0.2"
    }
  }
}

from react-vis.

kiernan avatar kiernan commented on May 17, 2024

Same thing still occurring in 2022.

from react-vis.

guguji5 avatar guguji5 commented on May 17, 2024

+1

from react-vis.

VanjaVizi avatar VanjaVizi commented on May 17, 2024

+1

from react-vis.

JustinB-AB avatar JustinB-AB commented on May 17, 2024

+1

npm ERR! Found: [email protected]
npm ERR! node_modules/react
npm ERR! react@"^18.2.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"15.3.0 - 16.x" from [email protected]
npm ERR! node_modules/react-vis
npm ERR! react-vis@"*" from the root project

from react-vis.

McleanWorkshield avatar McleanWorkshield commented on May 17, 2024

+1

Is this something that plans on getting fixed?

from react-vis.

JustinB-AB avatar JustinB-AB commented on May 17, 2024

@McleanWorkshield I noticed after posting my comment that the last update was a Deprecated notice, as the library is without maintainers. I decided to go with a graph library called Victory for react myself.

from react-vis.

McleanWorkshield avatar McleanWorkshield commented on May 17, 2024

@Digichain Thanks! After posting I saw the date last published and started to assume the worst. Looks like a new refactor project coming my way.

I'll check out Victory!

from react-vis.

Related Issues (20)

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.