Cutting down on JavaScript

December 10, 2021 By Mark Otto Off

▶  A Coding Interview with Dan Abramov — Dan Abramov, best known for his fantastic Overreacted blog and co-creating Redux, bravely subjects himself to a ‘coding interview’ with Ben Awad. They cover a mixture of JavaScript and frontend topics, including.. centering a div!

Ben Awad and Dan Abramov

Put the “Flow” in Your Workflows with Shortcut — Imagine how much more you could get done if your project management tools didn’t make you sigh. Shortcut is the ideal solution for task management, bug tracking, iteration planning, and reporting. Delight the scrum gods and give us a try for free.

Shortcut (formerly Clubhouse.io)

IN BRIEF:

RELEASES:

Mongoose 6.1 – MongoDB ODM for Node.js.
V8Go 0.7 – Execute JS from Go(lang).
eslint-plugin-vue 8.2 – Official Vue plugin for ESLint.
Preact 10.6.4 – Fast & light React alternative.
Prettier 2.5.1

Find JavaScript Jobs with Hired — Create a profile on Hired to connect with hiring managers at growing startups and Fortune 500 companies. It’s free for job-seekers.
Hired

📖 Tutorials, Opinions & Stories

Cubic Bézier: From Math to Motion — Underpinning any sort of realistic animated motion is some tricky math, the cornerstone of which is the Bézier curve. This article makes the connection between the theory and what eventually ends up on the screen.

Maxime Heckel

Plugging Memory Leaks in Your App“In any reasonably sized app, you can bet memory is leaking somewhere,” says Stoyan, so having a how to on mitigating such leaks is useful. React is used as the basis for the examples here but the basic concepts apply elsewhere too.

Stoyan Stefanov

💡 And as it happens, Microsoft Edge has added a new Detached Elements tool to help you investigate and resolve DOM-oriented memory leaks.

▶  Why Ruby2JS is a Game ChangerRuby2JS is a Ruby to JavaScript transpiler, and Jared argues its main value is in being able to write as if JavaScript had Ruby’s rich syntax and standard library.

Jared White podcast

🛠 Code & Tools

Tailwind CSS v3.0 Released — Tailwind CSS is an increasingly popular CSS framework, and while we’d usually just mention it in Frontend Focus, v3.0 has an interesting JavaScript related feature: Play CDN, which lets you use Tailwind CSS on any Web page using a single script tag (for development or demos, say).

Adam Wathan (Tailwind)