GitHub Review Trick - Code with Hugo - Jul 14th 2020
Welcome to the 84th Edition of the Code with Hugo newsletter about JavaScript, Node.js & Enterprise patterns.
Here are 3 links I think are worth your time this week,
-
"Github Pull Request Review: reset viewed files" GitHub Pull Request Review workflow is great. (1 min read) : https://codewithhugo.com/github-review-reset-viewed/
-
Node.js v14: What's New? That's right! Node.js version 14 is here! 🎉 Whether you have upgraded your Node version already or are thinking about doing it soon, let's discuss some of the things that this new version gives us! We'll even chat about older versions and what to expect there in the coming months. (9 min read): https://auth0.com/blog/nodejs-v-14-whats-new/
-
A first look at records and tuples in JavaScript, In this blog post, we take a first look at the ECMAScript proposal “Record & Tuple” (by Robin Ricard and Rick Button). This proposal is about introducing two kinds of compound primitive values to JavaScript: (6 min read): https://2ality.com/2020/05/records-tuples-first-look.html
Tweet of the week is a React iteration (keys) tip from @housecor:
Most React devs know to declare a key when iterating over an array.
But there are 2 lessor known reasons to use keys:
1. To force a re-render on a master/detail layout
2. To "reset" a component by creating a new instanceChanging the key creates a new instance.#reactjs
— Cory House (@housecor) May 25, 2020
I've recently finished Too Much Stuff - Capitalism in crisis by Kozo Yamamura.
It's a look at the changing economic landscape in the world. Through varied examples, we get to see the history and impact of a world of "too much stuff" where inequalities are growing.
3/5 ⭐️, not a particularly easy read but I enjoyed that it was using variety rather than one deep/technical example of the author's thesis. You can find it on Amazon.
That's all for this week, stay tuned for more JavaScript tips to help you get stuff done.
Hugo