NaNNaNNaNNaN Batman

January 21, 2022 By Mark Otto Off

⁉️ If the subject of this issue has got you confused, it’s a reference to the infamous Wat video of 2012 which we mention a couple of times in the issue today 🙂
__
Peter Cooper, your editor

TypeScript Features to Avoid? — Remember Gary Bernardt’s Wat video from ten years ago? He created the Execute Program dev education platform and now reflects on four things in TypeScript to seriously think about: enums, namespaces, decorators, and private. It’s opinionated – naturally!

Execute Program

Deeply Copying Objects with structuredClone() — Dr. Axel looks at the new kid on the block when it comes to copying JavaScript objects: structuredClone. Supported in cutting edge versions of most browsers and in Node.js and Deno, it’s time to be aware of this.

Dr. Axel Rauschmayer

A JavaScript-Flavored Introduction to Monads“I know a lot of people roll their eyes” says Kyle about yet another monad explainer, but.. if you liked Kyle’s work with You Don’t Know JS or you want something JavaScript oriented and with concrete takeaways for your own code, this is for you.

Kyle Simpson

Remix vs Next.jsRemix is the new kid on the JavaScript full-stack framework block so naturally it gets compared to other things like Next.js (and even Ruby on Rails). Bear in mind that this comparison comes from the Remix team themselves but is well written while, of course, promoting the Remix approach.

Ryan Florence

IN BRIEF:

RELEASES:

ESLint 8.7 — Quality control for your JavaScript.
zx 4.3.0 — Niceties for shell scripting with Node.js.
react-markdown 8.0 — Markdown rendering component for React.
Capacitor 3.4 — Cross platform native app framework.
Axios 0.25.0 – Long standing HTTP client library.
better-sqlite3 7.5 – Node.js SQLite library. Now supports strict tables.

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

📒 Articles & Tutorials

Replacing jQuery with Umbrella JS — A little case study of sorts here, looking at replacing once dominant jQuery with the notably smaller Umbrella JS — which has a similar API and plugin system but may help you break the ties.

Ben Nadel

Good Advice on JSX Conditionals“Time after time I shoot myself in the foot with JSX conditionals. In this article, I look at the trickier corners of JSX conditionals, and share some tips for staying safe”.

Vladimir Klepov

Add Less — As developers, we frequently add tools and libraries to projects, but it can often lead to overloading an app with more than it really needs. So: add less, says Cassidy.

Cassidy Williams

🛠 Code & Tools

Rockpack 2.0: An Alternative React App Builder — Like Create React App the goal is to get project setup time as low as possible, but Rockpack holds some different opinions around how far to take things and packs in a lot of ideas including, now, server side rendering.

Alex Sergey