Big news.
Shaders is now open source 🔥
Use any of our 200+ WebGPU components in your work. Ship magic in a client site, a template, a product, a library, anything. Plus, you can export code for any framework, for free.
Give it a star: https://t.co/eIpRMhuS6m
My dear front-end developers (and anyone who’s interested in the future of interfaces):
I have crawled through depths of hell to bring you, for the foreseeable years, one of the more important foundational pieces of UI engineering (if not in implementation then certainly at least in concept):
Fast, accurate and comprehensive userland text measurement algorithm in pure TypeScript, usable for laying out entire web pages without CSS, bypassing DOM measurements and reflow
Problem: You want to re-throw a JavaScript error to provide a friendlier error. But, you want to keep the original error details too.
Solution: Include the original error via `cause`.
More: https://t.co/TyF4IyYxju
#javascript
✨ Comparison between Next.js 12 and the Next.js 13 experimental `app` dir!
✦ New file conventions to unlock more flexibility
✦ getStaticProps → async/await data
✦ getStaticPaths → generateStaticParms, simplified API
✦ Per-page layout → Explicit nestable layout files
A year ago, I fell in love with Zod.
It's a TypeScript library for validating data shapes - and it might be the single greatest use of TypeScript I've ever seen.
So, I built a module of Total TypeScript on it 🧙♂️
And it's free for everyone ❤️
https://t.co/vblE6kmLXh
😍 Today's #DeveloperFavourite is @remix_run!
It's a full stack web framework that lets you focus on the UI and work back through web fundamentals to deliver a fast, slick, and resilient UX.
Prisma + Remix = 💚
Check it out in their docs: https://t.co/FgnZTNehQw