Legolas
@wlegolasDeveloper at @thoughtworksbr. In love with JavaScript, CSS, React. A11y enthusiast. Loves share knowledge. Likes are only to see later 😉
Similar User
@henricustodia
@Rob_Aarts
@afropretanerd
Tailwind devs: stop sleeping on container queries 😤
#UI Workshop ✅ scroll driven animations ✅ view transitions ✅ popovers ✅ container queries nerdy.dev/i-put-a-worksh…
Take my <dialog> this one slides out from the side with an elegant inset, and also offers a mouse effect to show that it supports light-dismiss nerdy.dev/have-a-dialog
📚 The slides + transcript for my talk "React Query API Design - Lessons Learned" from the @ReactAdvanced conference are now available on my blog: tkdodo.eu/blog/react-que…
Next.js 15 next.config.js → next.config.ts
Using Tailwind, Panda, StyleX or any other Atomic CSS library? You are going to want to install this Chrome Extension right now
30 years of KoRn. We’re just getting started. Director: Sebastien Paquet Sound Design: Greg Johnson
How to differentiate page.tsx tabs from Next.js in VS Code?
We're all talking about 'errors as values' again. But I find the Result<T> pattern a bit verbose. Here's a method for doing it with as few type annotations as possible 🧵
Here's how you can extract the type from the Set: typescriptlang.org/play/?#code/PT…
❌ Avoid listening for ref changes with useEffect() in React. ✅ Instead use a ref callback function.
Typescript wizardy: `as const` + `satisfies` Combine both to have type safety on Record keys and values + constant inferred types You can then extract both keys and values as unions using `keyof` and `typeof` 🧙
My book, Total TypeScript: Essentials, is finally ready! It covers everything you need to get a job with TypeScript, from setting up your IDE to understanding generics. And it's 100% free. Forever. totaltypescript.com/books/total-ty…
Metadata in Next.js (static and dynamic)
Did you know you can attach types to functions? Super nice pattern for colocating props with your components.
Server waterfalls in Next.js and what you can do about them.
Here's a lovely bit of TS code to turn an object type into an object of getters:
TypeScript 5.5's type predicate inference is SO good omg
United States Trends
- 1. Bengals 59,2 B posts
- 2. Eagles 45,5 B posts
- 3. Justin Tucker 3.090 posts
- 4. Ravens 33 B posts
- 5. Maddox 5.932 posts
- 6. Steelers 76,2 B posts
- 7. Kirk Cousins 11,2 B posts
- 8. Jets 53,1 B posts
- 9. Colts 28,9 B posts
- 10. Vikings 35,1 B posts
- 11. #SKOL 7.000 posts
- 12. Falcons 22,8 B posts
- 13. #HereWeGo 12,2 B posts
- 14. Seahawks 34,8 B posts
- 15. Bryce Young 3.649 posts
- 16. Trevor Lawrence 26,9 B posts
- 17. Penix 5.453 posts
- 18. Cardinals 14,9 B posts
- 19. Mark Andrews 2.441 posts
- 20. Texans 23,1 B posts
Something went wrong.
Something went wrong.