TENJAVASCRIPT

10 fresh write-ups from the JavaScript world. Comes out every Friday (or Saturday if I'm overloaded).

1164 subscribed.
1.

npm bans terminal ads

JavaScript community's negative reaction to recent experiment kills potential avenue for funding open-source projects.

2.

The Baseline Interpreter: a faster JS interpreter in Firefox 70

Modern web applications load and execute a lot more JavaScript code than they did just a few years ago. While JIT (just-in-time) compilers have been very successful in making JavaScript performant, we needed a better solution to deal with these new workloads. To address this, we’ve added a new, generated JavaScript bytecode interpreter to the JavaScript engine in Firefox 70.

3.

The Totally Not Sarcastic at All Guide to How to Design for the Web in 2019

You won't believe this one weird trick to modern web development

4.

⭐ JavaScript Upgrade - Screencast

How to optimise React with Hooks for performance? How to building a REST API with Koa? How OOP works in JavaScript? What is ReasonML and why use it? How to build a Chrome extension with React And Parcel? Those and many other defferent topics are covered in these weekly videos. As always, WJS readers can use this link to subscribe with 22% off.

5.

Simplify your JavaScript – Use .some() and .find()

Simplify the way you write your JavaScript by using .some() and .find() instead of searching for data using for() and forEach() loops. You’ll end up with code that’s easier to read!

6.

Use React Context to DRY up your components

Plumbing in programming is something you have to do to make things work. It’s sometimes repetitive or looks like a boilerplate you would usually remove. It’s also crucial because it connects different layers of the application. In this post, I’ll show you a typical example of plumbing inside a React application and a way to fix it.

7.

Implementing Role-Based Access Control in a Node.js application

In this article, you'll learn how to implement role-based access control in a Node.js application.

8.

GitHub - goldbergyoni/javascript-testing-best-practices

📗🌐 🚢 Comprehensive and exhaustive JavaScript & Node.js testing best practices (August 2019)

9.

6 Stages of Refactoring a Jest Test Case

An underrated feature of Jest is customizing the assertion errors that the console displays when tests fail. Imagine the following test code, which needs to programmatically loop an object to ensure keys exist as expected...

10.

TypeScript vs ReasonML – A Comparison

Want some types in your javascript?

Even Older Issue →