#230 — Insights from the introducing TypeScript at Bloomberg, managing React state, and more

TENJAVASCRIPT #230

"Before and after when you first start learning CSS 😅" => That looks embarrassingly familiar // @denicmarko

10 Insights from Adopting TypeScript at Scale

🔥 Rob Palmer of TC39 shares some great insights from migrating a huge JavaScript codebase to TypeScript at Bloomberg.

#TypeScript

JavaScript WTF: Six of the Language's Gravest Design Flaws

🤫 JavaScript WTF's is a whole separate genre of articles. JavaScript is famous for some of its quirks and inconsistencies, which seem to never stop rising eyebrows of devs. Though my favorite talk is Wat by Gary Bernhardt.

#Language

How to manage state in React apps with useReducer and useContext hooks

⭐ You don't need Redux to introduce a global app state. Learn how to quickly do this with a reducer and a context.

#React

React context without context, using XState

🌕 Now let's go even deeper, haha. You don't even need a context. Here's a less popular but promising approach using the Xstate library.

#React

Marching Squares Algorithm

💠 A fun little (well, maybe not so little) exercise you can try to implement the "marching squares" in a canvas with JavaScript!

#Turorial

Server Rendering with React and React Router v5

😍 Tyler McGinnis in this thoughtful and comprehensive read thinks about and implements an app with a server-side rendering.

#React

What's New In DevTools (Chrome 88)

🛠 New Chrome — new DevTools updates article. This time we get 37% startup speed increase, better CSS angle visualisation, CORS errors in the Network panel reporting properly, and more

The Pipeline Operator In JavaScript

🤔 I can't believe it's been 2 years since I first wrote about the pipeline operator. Apparently, it is still in stage 1, and its future is uncertain. I though it would be nice to refresh how cool it would be to have a pipeline operator in JavaScript.

Follow me on Twitter

🐦 Lots of you still haven't joined me on Twitter. That's a pity because my feed is full of JavaScript tips and tricks, smart articles, and stupid little stories from my development life. Warning: you should be able to detect sarcasm.

🐦 Liked the issue? Share it on Twitter!

😠 Unhappy? Unsubscribe.


unsubscribe

Older messages

#229 — ES2021 new features, updated redux tutorial, and more

Friday, November 6, 2020

TENJAVASCRIPT #229 What new in ES2021 (aka ES12)? 🆕 ES2021 includes pretty inteesting updates to the language such as String.prototype.replaceAll, private methods (with ugly # syntax), ||= and

#228 — Npm 7, a great event loop explanation, and more

Monday, October 19, 2020

TENJAVASCRIPT #228 Sometimes the job interview has nothing to do with the actual job // Vincent Déniel Npm v7 released 🔧 Great news! Npm finally supports workspaces. On my previous project that was for

#227 — Moment.js declared legacy, useful Node packages, and more

Friday, September 18, 2020

TENJAVASCRIPT #227 Couldn't find out who's the original author 😒 Moment.js project status 👋 Moment.js authors officially declare it a legacy project. That's a wise and timely decision.

#226 — Reasons not to use GraphQL, making WAVs, and more

Friday, August 28, 2020

TENJAVASCRIPT #226 "Me writing JavaScript" // by @KassandraSanch Transduction in JavaScript 🔥 The functional approach may sometimes lead performance issues. But there are ways to remedy those

#225 — S

Sunday, August 23, 2020

TENJAVASCRIPT #225 JavaScript ecosystem in a nutshell / @XKCD Microsoft will bid farewell to Internet Explorer 👋 Goodbye, IE! We've all expected it to happen sooner, but it's better late than

You Might Also Like

Gemini in Android Studio and more: Android Studio Jellyfish is Stable!

Thursday, May 2, 2024

View in browser 🔖 Articles Gemini in Android Studio and more: Android Studio Jellyfish is Stable! Android Studio Jellyfish (2023.3.1) is making waves with its official stable release! 🪼🌊 Dive into

wpmail.me issue#665

Thursday, May 2, 2024

wpMail.me wpmail.me issue#665 - The weekly WordPress newsletter. No spam, no nonsense. - May 2, 2024 Is this email not displaying correctly? View it in your browser. News & Articles Why Should You

PHPWeekly May 2nd 2024

Thursday, May 2, 2024

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 2nd May 2024 Hi everyone, Hope you're all well. This week we

'No one should buy the Ai Pin'

Thursday, May 2, 2024

🖖 Star Trek fans weep ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Microsoft’s OpenAI partnership was born from Google AI envy

Thursday, May 2, 2024

The Morning After It's Thursday, May 02, 2024. Emails from the Department of Justice's antitrust case against Google revealed how Microsoft executives were alarmed by and even envious of

Top Tech 🏆 Are the Beats Solo 4 Worth Buying? — We Tested a Transparent Power Bank

Thursday, May 2, 2024

Also: Unistellar Odyssey Pro Telescope Review, and More! How-To Geek Logo May 2, 2024 🎧 Drop A Beat! The all-new Beats Solo 4 headphones are finally here, with improved acoustics and better battery

CISA Warns of Active Exploitation of Severe GitLab Password Reset Vulnerability

Thursday, May 2, 2024

THN Daily Updates Newsletter cover Webinar -- The Future of Threat Hunting Is Powered by Generative AI From Data to Defense: Step Into the Next Era of Cybersecurity with CensysGPT Download Now

The Future of Wallets: Introducing the Ridge Wallet for MagSafe

Thursday, May 2, 2024

Redefine convenience and security with MagSafe-compatible magnet arrays embedded in Ridge products. Upgrade what you carry and get Apple's® newest must-have accessory. Engineered for seamless

Edge 392: Meet RAFT: UC Berkeley's New Method to Improve RAG Patterns in LLMs

Thursday, May 2, 2024

The method brings the best of RAG and supervised fine tuning. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Airbnb Icons 🏠, Microsoft's OpenAI email leaks 🤖, software friction 👨‍💻

Thursday, May 2, 2024

Airbnb's Icons is a new collection of experiences hosted by big names in music, film, television, arts, sports, and more Sign Up |Advertise|View Online TLDR Together With Dollar Flight Club TLDR