2

what should I use to install react-native dependencies? yarn or npm, in my case npm have some problems with some of dependencies. Sometimes i use npm to install these, but i am still confused to decide which one to use permanently.

CoryCoolguy
  • 1,065
  • 8
  • 18
Haseeb Javed
  • 63
  • 2
  • 13

2 Answers2

1

Both NPM and Yarn are great tools in managing your project's dependencies. There are a lot of improvements Yarn has over npm from faster speeds and stronger security. Many say that if you are already familiar with NPM that a jump to Yarn isn’t really necessary, especially with the release of version 5. Personally I will favor Yarn over NPM mainly because of the speed. But it all boils down to a matter of preference.

Refer

Refer

Akila Devinda
  • 5,054
  • 3
  • 19
  • 35
0

yarn is much more faster than npm. furthermore npm is also an impressive option

Haseeb Javed
  • 63
  • 2
  • 13