Giter VIP home page Giter VIP logo

Comments (7)

clintonwoo avatar clintonwoo commented on May 22, 2024 1

Hi, thanks for submitting an issue. The project technically uses a Yarn lockfile and docker builds using Yarn so in that regard it uses Yarn for package management. I originally wrote the documentation using NPM so a developer not familiar with Yarn can still use the project until they are ready to look into Yarn.

Perhaps the decision can be made now which to go with. Yarn is ~25% faster and can be configured for offline mode but npm is the default and has caught up in most ways. NPM is probably the better choice for maximum compatibility. What do you say?

from hackernews-react-graphql.

crcastle avatar crcastle commented on May 22, 2024

If one of the goals of the project are to make it accessible to Node developers of all levels, then I'd suggest going with npm. And I think you're right that npm has caught up with yarn in most ways (since v5). If it hadn't then maybe I could see the case for sticking with yarn.

You cool if I make a PR changing everything over to npm (code, docs, lockfile)?

(I also wanted to add a Deploy to Heroku button and suggest a few other changes, but I'll put those in separate PRs.)

from hackernews-react-graphql.

chongiscool avatar chongiscool commented on May 22, 2024

Hi, I just learned React and React Redux, now I am learning React Native, one of my friend suggest having both npm and yarn installed on my computer can create conflict, and His suggestion is uninstalling one and using the other, Should I uninstall? Thanks!

from hackernews-react-graphql.

bel7aG avatar bel7aG commented on May 22, 2024

you shouldn't.

from hackernews-react-graphql.

chongiscool avatar chongiscool commented on May 22, 2024

@bel7aG thanks for replying.

from hackernews-react-graphql.

ivanraybuglosa avatar ivanraybuglosa commented on May 22, 2024

@chongiscool I also doing rails with react-redux and have yarn and npm at the same time.
But i dont understand why we shouldn't remove either one of those? @bel7aG

from hackernews-react-graphql.

clintonwoo avatar clintonwoo commented on May 22, 2024

I updated it to only use npm since it's the default. The README.md recommends updating to use yarn or pnpm however

from hackernews-react-graphql.

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.