Category: next js

Exploring JavaScript (ES2024 Edition)

July 18, 2024 By Mark Otto Off

WorkOS: The Modern Identity Platform for B2B SaaS — Start selling to enterprise customers with just a few lines of code. WorkOS provides flexible, easy-to-use APIs to integrate SSO, SCIM, and RBAC in minutes. It’s used by hundreds of high-growth startups including Perplexity, Vercel, Drata, & Webflow.…

Do the (ESLint) Evolution

July 11, 2024 By Mark Otto Off

es-toolkit: A Modern JavaScript Utility Library — Think Lodash but newer, faster, smaller, and with tree shaking and built-in TypeScript support. The reference guide shows off the supported functions so far – it’s not quite as extensive as Lodash, but it’s getting there with the…

Breaking a promise

July 4, 2024 By Mark Otto Off

How to Annul Promises in JavaScript — You can ‘cancel’ XHR and fetch requests, but can you cancel regular promises? Currently, no, but Zachary looks into doing the next best thing: telling a promise the game’s up, and discarding/ignoring its eventual results. Zachary Lee regex 2.1:…

Say hi to ECMAScript 2024

June 27, 2024 By Mark Otto Off

Ecma International Approves ECMAScript 2024: What’s New? — This week, the Ecma General Assembly approved the latest ECMAScript / JavaScript language spec, officially making it a standard. As with ECMAScript 2023, it’s a small step forward, but Dr. Axel looks at what’s new. Dr. Axel Rauschmayer…

The results are in

June 20, 2024 By Mark Otto Off

How React 19 (Almost) Made the Internet Slower — Even changes that are planned in advance can have big effects on the developer experience if people aren’t aware of them. A change to Suspense in React 19 led to much confusion and surprise, but the…

The biggest TypeScript release in years?

June 13, 2024 By Mark Otto Off

📝 I’ve recently encountered readers who’ve been surprised to learn this isn’t our only JavaScript newsletter. We have Node Weekly and React Status too – check them out if you’re a Node.js or React developer, as we focus more closely on them there! 🙂__Your editor, Peter…

The appealing simplicity of htmx

June 6, 2024 By Mark Otto Off

Promises from the Ground Up — Josh notes that in order to truly understand promises, a fundamental part of modern JS development, we need “a surprisingly deep understanding of how JavaScript works and what its limitations are”. Luckily, this tutorial covers all the critical context…

A variety of JS hacks and creative coding

May 30, 2024 By Mark Otto Off

Next.js 15 Release Candidate — The popular React meta framework gets ready for a major new release with a RC giving you an opportunity to experiment with React 19 (and React Compiler) support, executing code after a response with next/after, and a few potentially breaking changes.…

SolidJS is off to a solid start

May 23, 2024 By Mark Otto Off

SolidStart 1.0: The Shape of Frameworks to Come? — SolidJS is a React-inspired declarative UI library but with a performance focus and templates compiled to real DOM nodes receiving direct DOM updates – no VDOM. SolidStart is a framework for building and deploying SolidJS apps…

Remix + React Router == React Router?

May 16, 2024 By Mark Otto Off

📄  How to Document Your JavaScript Package — You’ve written some useful code, you want to distribute it.. what next? Useful docs! The Deno team demonstrates the value of JSDoc and writing documentation alongside your usual source code. The Deno Team WorkOS: Enterprise-Grade Auth You Can…