Author: Mark Otto

Extractors for ECMAScript

September 23, 2022 By Mark Otto Off

A Proposed JS Feature: Extractor Objects — Entering stage one at the latest TC39 meeting is a proposal for being able to define your own logic (such as data validation or transformation) to run as part of the object destructuring process. A proposal worth reviewing. Ecma…

The Node testing framework we were sleeping on

September 22, 2022 By Mark Otto 0

📗  Shell Scripting with Node.js — Axel is too humble to call this an ‘Ultimate Guide’ or the like, but it is. After months digging into the guts of Node, npm, and the technicalities of shell scripting, he’s released a complete book. You can support…

Don’t bring me down.. Bruce!

September 21, 2022 By Mark Otto 0

🎵 About the subject line.. yes, I know. 😆 – Ed. ‘React I Love You, but You’re Bringing Me Down’ — An opinionated React thought piece that’s provoked much discussion this week. The author gets creative by checkpointing the progress (or lack thereof) of React…

Best React Component Libraries

September 20, 2022 By Mark Otto Off

React is the most commonly used web framework today. What started as a universal UI library developed by Facebook in 2011 and went open source in 2013 is now widely used to create compelling user interfaces. React consists of components – small pieces of code…

Seven weird ways to call a JavaScript function

September 16, 2022 By Mark Otto Off

MemLab: A Framework for Finding JavaScript Memory Leaks — Facebook (sorry, Meta) has been using MemLab to make significant improvements to the memory use of its main SPA. Now they’ve open sourced the tool (which is itself written in TypeScript) with the hope everyone else…

Creating an npm package in 2022

September 15, 2022 By Mark Otto 0

Best Practices for Creating a Modern npm Package — A step-by-step “as of 2022” walkthrough of creating your own npm package using current best practices. It’s very thorough and certainly worth revisiting, even if you’ve built a package already. As always, though, there’s more than…

Flatlogic Platform Update: Reset Functionality

September 14, 2022 By Mark Otto Off

We are pleased to announce that the application generated on the Flatlogic Platform now offers the possibility to Reset your project! Use Case There are 2 use cases for the Reset button: to remove old migrations that are no longer needed and combine all migrations…

The one all about useSyncExternalStore

September 14, 2022 By Mark Otto 0

▶  ‘React 18’s New State Hook You’ve Never Heard About’ — We know videos are a hard sell, but Jack is at the top of his game right now, and this one has had rave reviews. It covers useSyncExternalStore from start to finish with a practical…