JavaScript Weekend List #13

Alex Bachuk
JavaScript Weekend List
3 min readSep 17, 2017

This week I was digging deeper in into a software testing. It’s always been an area where I struggle the most when I write code. Historically testing (unit testing or automation) was on the back burner when creating new features or fixing bugs because of deadline, limited resources or whatever other reasons we could come up with.

At the same time QA and manual testing is always a bottleneck in the process. So, I decided to face it and master unit testing and then switch to automation testing. As I’m writing tests and digging deep into the subject I’ll be writing blog posts about testing, both technical and non-technical. Stay tuned.

Shameless plug, I wrote 2 posts about unit testing redux actions and reducers with jest. Check them out:

1. Node.js 8.5 released

This is a long waited addition. ECMAScript Modules now supported natively in Node.js. No more babel for import 🔥

2. How JavaScript works: memory management + how to handle 4 common memory leaks

JavaScript allocates memory when things (objects, strings, etc.) are created and “automatically” frees it up when they are not used anymore, a process called garbage collection. This post goes over some important concepts like garbage collection, memory allocation, memory reference and others.

3. Top 10 ES6 features by example

For those of you who never heard of ES6 or just starting to learn it. This post covers basics of ES6 like const, let, spread operator, map, reduce, template strings and more.

4. Learn How To Debug JavaScript with Chrome DevTools

As a new developer, finding and fixing bugs can be difficult. You may be tempted to randomly use console.log() in an attempt to get your code working correctly. Read this to learn how to properly use devtools.

5. The React license for founders and CTOs

There is a lot of controversy around react license. If you’re using react in your project make sure you understand the consequences. There are some patents and other legal requirements. Mostly, it’s Facebook trying to protect itself by not allowing anyone who uses react to sue them for other patent infringements. “Facebook’s patent grant is about sharing its code while preserving its ability to defend itself against patent lawsuits.”

Tweet of the week (2 of them)

If you liked this post, click the 👏🏻 below so other people can find it on Medium. Follow me on Twitter to stay in touch.

--

--