Комментарии:
Brilliant explanation! Clear and concise
ОтветитьWhat should I do to fix warning? Do I need to add `react` to `package.json` or install it with `npm install react`?
ОтветитьGreat introduction to this concept. Subscribed.
ОтветитьThis is really helpful mate.
ОтветитьThanks a lot for this great series of npm videos. I learned much and things are more clear for me then before
Well done!!
Very easy to understand. Your example of react and react-dom is the best.
ОтветитьGreat explanation
ОтветитьThanks!
Ответитьputting you out that "he" ? react dom probably. what is "he" ? you said.
ОтветитьExplanation in documentation is a trash. Thank you for making it clear. Excellent explanation!
ОтветитьSo much moves to make react-dom happy, but you just could happy-dom instead ( ͡° ͜ʖ ͡°)
Ответитьcould you explain whats the package.JSON that i have to add that on? i don't know how to find that file, or which one of all the paskage.JSON of my computer should i add it on. I need to intall Angular, and it asks me to install some dependencies, but of course as i still not have Angular there is not Angular's package.JSON file yet
ОтветитьThe example you gave using react and react-dom was perfect to get it. Thanks!
ОтветитьThank you very much for this great video!
Ответитьyou just covered only 1 side of the problem.
What happen if i do not want to expect that the host developer is installing this peer dependencies and instead i ship my library with dependencies instead? (so users of my library will not bother installing peer dependencies).
Good explanation!
ОтветитьThanks so much for this clear explanation and example. I totally understand the concept of peerDependencies now.
Saves "Master NPM" playlist to watch later :D
Then if I'm creating that needs other dependencies how force NPM to install it?
ОтветитьThis is good. The official explanation on npm site sucks
ОтветитьAhh, so peer dependency is like the inverse of dependency.
For example:
if A requires B, it means:
B is the dependency of A
A is the peer dependency of B (well, not necessarily, but you get the idea).
Thanks for the simple explanation! Clearest explanation about peer dependency I've ever seen.
Thank you. Wonderful video. Excellent explanation.
ОтветитьGreat explanation, thank you so much!
ОтветитьGood job
ОтветитьI was going crazy trying to understand this by myself, thanks for sharing this!
ОтветитьJust pay attention that npm 7 has changed this behavior.
ОтветитьThe best explanation on the internet regarding this topic. Goddamn you're good at that. Node & NPM docs sucks big time.
ОтветитьGreat explanation, thank you for taking your time to record this!
Ответитьclearest explanation, better than docs or anything else I could find for the past hour!
I'm knee deep in a project that involves monorepo tooling / workspaces and needed to know all this inside and out, thanks!
Very helpful video. Thanks
ОтветитьVery well explained with Example. Thanks
Ответить