PRJ – 5

Monday 10/08: 12:30PM – 4PM

Today is Monday so I had a few things to tidy up from a few pull requests I had made the week before. Most were small fixes but on my google analytics pull request I had accidentally used NPM in a Yarn project. This was purely out of habit since I have only ever used NPM.

Yarn was designed by Facebook to try and tackle some of the deficiencies NPM has. Although the two are very similar, there are some key differences which I think are worth mentioning.

  • Yarn can work on installing multiple packages at once, while NPM completes one before moving onto the next. This makes Yarn quite a bit faster than NPM.
  • Yarn has much clearer console output then NPM but you can retrieve desired info using commands.
  • Yarn is more secure. NPM automatically runs code from dependencies and allows extra packages to be added on the fly.

After sorting out the suggested changes on my pull requests, I continued work on adding the functionality of printing multiple pages in one go in a stock keep application. This is going to be the biggest feature I have worked on so far and will require me to work with Redux. I have started by working on a button which adds the desired item to an array in the applications store which I plan to use on the printing page. I am definetely going to get stuck many more times before I complete this feature.

Leave a comment

Design a site like this with WordPress.com
Get started