Comments (7)
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.
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.
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.
you shouldn't.
from hackernews-react-graphql.
@bel7aG thanks for replying.
from hackernews-react-graphql.
@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.
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)
- localhost:3000 does not work
- `npm install` fails in fresh clone HOT 6
- Video Series/ Step by step tutorial
- Making presentational components functional HOT 1
- Removing inline styling HOT 2
- Live Demo link is broken HOT 1
- freeze when docker build --tag 'clintonwoo/hackernews-react-graphql:latest' --rm . HOT 1
- Freeze When i use this command npm run build && npm start command not working HOT 1
- npm ERR! missing script: dev HOT 3
- Standardize test location? HOT 1
- Use a real database HOT 1
- Changing default port to 8080 HOT 1
- Bind log to console HOT 1
- Wrong filename for spec of CommentService HOT 1
- Failed when run test script HOT 1
- Failed to run the app locally HOT 3
- Live Demo Doesn't Work HOT 1
- wrong mention /react-apollo/getting started HOT 1
- Cannot POST comment on live demo after account creation and login. HOT 1
- question about building(what should I do next to get data) HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hackernews-react-graphql.