With Yarn, engineers still have access to the npm registry, but can install packages more quickly and manage dependencies consistently across machines or in secure offline environments. Yarn enables engineers to move faster and with confidence when using shared code so they can focus on what matters — building new products and features.
Try to build your application using pure React until you hit its limits. This will kinda force you to explore its features and understand the core concepts better. Starting out with extra layers of complexity can slow your flow and kill your motivation.
tl;dr The new yarn package manager is a fantastic tool to install your application’s dependencies. When using it for packages, that are meant to be consumed by other packages and applications, things might not work as expected
There are definitely many instances (probably more than you realize) where automating something will actually help you get your job done and ship stuff faster — with fewer bugs than by regularly repeating the same steps in your workflow.
We hope you enjoyed reading this week's issue of #FrontendCookies. If you like our newsletter, refer it to a friend or colleague.