Introducing "Learning Patterns": patterns.dev - a free 435 page book on JavaScript React design & performance patterns from @lydiahallie and I. On the web, ePub & PDF.
ALT Patterns.dev is free book on design patterns and component patterns for building powerful web apps with vanilla JavaScript and React.
We publish patterns, tips and tricks for improving how you architect apps for free. Keep in mind, design patterns are descriptive, not prescriptive. They can guide you when facing a problem other developers have encountered many times before, but are not a blunt tool for jamming into every scenario. Patterns.dev aims to be a catalog of patterns (for increasing awareness) rather than a checklist (what you must do).
🔥 THE OFFICIAL TRAILER IS ON AIR!
Enjoy the Official trailer and play the mini-game!
Reward:
▶︎ 100 random gifts of 0.5gTHC for the best sharing
▶︎ 10 common boxes for lucky numbers
Time: Now - 12 PM (UTC) NOV 30th
⚠️ 1 player/1 gift
#ThetanArena@KardiaChain@wolffungame
CSS "content-visibility:auto" is amazing: skip rendering & painting offscreen content until needed. I got a ~1s faster render on a long HTML document on desktop, ~3s on mobile.
web.dev/content-visibility/
ALT The CSS content-visibility property enables the browser to skip an element's rendering work, including layout and painting, until it is needed. Because rendering is skipped, if a large portion of your content is off-screen, leveraging the content-visibility property makes the initial user load much faster.
In this screenshot, to the left is a partial screenshot of a long web page with a high rendering and painting time. To the right is a version with content-visibility used on sections of the page, heavily reducing overall rendering times.
TypeScript 4.2 is now out with
✔ Smarter Type Aliases
✔ Non-Trailing [...rest]s in Tuple Types
✔ Stricter Checks
✔ The "Declare Missing Function" Quick Fix
and more! Try it today!
devblogs.microsoft.com/types…