A Visual Guide to the new App Router in Next.js 13
Understand the fundamentals of routing and project organization in my latest blog post!
https://t.co/92hd0EbXYe
Today the TypeScript team is releasing a new VS Code extension named Deopt Explorer!
This tool can help find polymorphism and deoptimizations in your code, and it's already helped us speed up TypeScript itself. Check out what we've built!
https://t.co/I3z99KJsZ6
You probably know React.
But do you know how to use TypeScript with React?
Introducing my biggest ever drop of FREE content...
And it's live right now ⬇️⬇️⬇️
React performance technique: Split a big component if some state is only used in a portion of the JSX.
Splitting reduces the amount of JSX rendered when state changes.
Principle: Keep state as local as possible. Then less JSX is rendered when state changes.
One of the best articles I've come across explaining the Node.js runtime
A Complete Visual Guide to Understanding the Node.js Event Loop https://t.co/IhMqphq8AA via @builderio
The React developer team removed create-react-app from the official documentation, making it no longer the default method of setting up a new React project. Vite is recommended as an alternative as it's fast and more efficient.
#DEVCommunity
https://t.co/OLuWIkvTrD
TypeScript tip: Try to avoid optional fields.
They cause two problems:
1. They reduce type safety.
2. There's no type-safe way to enforce when the field should be populated.
Solution: Often optional fields can be eliminated by declaring separate and more specific types.
Today, we’re thrilled to launch https://t.co/rxBDrIgPJi, the new home for React and its documentation. It teaches modern React with function components and Hooks, and we’ve included diagrams, illustrations, challenges, and over 600 interactive examples. Check it out!