Tag: code

Fluid simulation in JavaScript

October 12, 2023 By Mark Otto Off

✍️ Due to being on the road at an event, this is a more compact and bijou issue but I’m back at full pace next week 😅__Peter Cooper, your editor Speeding Up the JS Ecosystem: The Barrel File Debacle — Marvin continues his tour through…

Microsoft spills the tea on TypeScript

September 21, 2023 By Mark Otto Off

▶  TypeScript Origins: The Documentary — You know you’ve made it when you get your own documentary! This has just dropped but is well produced, packed with stories from TypeScript’s co-creators, users, and other folks at Microsoft, and kept me entertained. It goes particularly deep into…

The Node.js best practices list gets a 2023 update

July 25, 2023 By Mark Otto 0

The Node.js Best Practices List: 2023 Edition — A valuable, long standing resource has been “modernized to 2023 standards” (complete with recommendations of more modern libraries) with lots of work by creator Yoni and an ever growing team of contributors. The topics remain the same,…

Automating code updates with codemods

July 18, 2023 By Mark Otto 0

Upgrading TypeORM with jscodeshift — TypeORM is an ORM that supports both Data Mapper and Active Record patterns, and last year it introduced some breaking changes that left the author of this post facing a lot of updates to be made. What to do? Write…

Let’s get debugging

June 13, 2023 By Mark Otto 0

Node v20.3.0 (Current) Released — On paper, it’s a minor release, but a libuv upgrade (the library that provides Node with its async I/O functionality) introduces significant performance improvements on Linux, AbortSignal.any() has been introduced, and Ruy Adorno’s presence on the Node.js TSC is officially recognized.…

Bundle-time macros with Bun

June 1, 2023 By Mark Otto Off

JavaScript Macros in Bun — Not content with giving the JavaScript world a brand new bundler, Bun’s Jarred has taken it a bit further: ‘macros’ that run at bundle time with the result being directly inlined into your code. They use stage 3 annotated import…

Why Svelte is converting TypeScript to JSDoc

May 11, 2023 By Mark Otto Off

The JavaScript Ecosystem is Delightfully Weird — There are plenty of examples of how JavaScript is weird but Sam focuses on the why. If you’ve been a JS developer for many years you’ll have seen it go through many phases and morph to fit its…

Did you know JavaScript is trademarked?

April 27, 2023 By Mark Otto Off

Trivia: This trademark issue is why the standardized form of JS is called ECMAScript. ???? Articles & Tutorials ???? Partytown is worth considering if you’d like to run potentially resource intensive third-party scripts in Web Workers. Modern Alternatives to Create React App — create-react-app was the ‘go…

Two ways to learn React in 2023

April 5, 2023 By Mark Otto 0

▶  Dan Abramov Explores React Server Components — Clocking in at a rather epic almost four hours, this (well timestamped) video isn’t for the faint of heart, but Dan and Ben walk through everything React Server Components oriented, complete with diagrams, code, and a real-world app. Ben Holmes…

Organize your AWS Serverless code to prevent merge conflicts

January 27, 2023 By Mark Otto Off

How do you prevent the most common merge conflicts when your team is working on a Serverless application? How do you make sure that your team stays productive and avoids large merge issues while trying to update the same crucial files simultaneously? –The answer to…