- Progressive Web Apps with React
- Scott Domes
- 132字
- 2021-07-08 09:36:15
The dark side of npm
In the past year, npm has come under fire for various reasons.
- It can be slow (just try installing large packages over a poor Wi-Fi connection)
- Its installation process can lead to different results for different developers on the same project
- It doesn't work offline, even if you've downloaded the package before
In response to these issues, Facebook came out with a package manager called Yarn. Yarn is essentially a wrapper around npm, giving the same basic functionality with an extra layer of goodness. Let's go ahead and install it so that we can use it to manage our packages!
Visit https://yarnpkg.com/en/docs/install for installation instructions. For macOS, note that you'll need Homebrew (which is like npm for macOS packages--packages everywhere!), which you can get at https://brew.sh/.
推薦閱讀
- 數(shù)據(jù)結(jié)構(gòu)(Java語(yǔ)言描述)
- 基于Swift語(yǔ)言的iOS App 商業(yè)實(shí)戰(zhàn)教程
- SAP BusinessObjects Dashboards 4.1 Cookbook
- 快速念咒:MySQL入門(mén)指南與進(jìn)階實(shí)戰(zhàn)
- Keras深度學(xué)習(xí)實(shí)戰(zhàn)
- 小程序從0到1:微信全棧工程師一本通
- PhoneGap 4 Mobile Application Development Cookbook
- SAP Web Dynpro for ABAP開(kāi)發(fā)技術(shù)詳解:基礎(chǔ)應(yīng)用
- 算法超簡(jiǎn)單:趣味游戲帶你輕松入門(mén)與實(shí)踐
- Swift iOS Programming for Kids
- 人件集:人性化的軟件開(kāi)發(fā)
- Jenkins 2.x實(shí)踐指南
- 精通Oracle 12c 數(shù)據(jù)庫(kù)管理
- Oracle API Management 12c Implementation
- C/C++程序設(shè)計(jì)教程:面向過(guò)程分冊(cè)