Legolas (@wlegolas) header
Legolas (@wlegolas) profile picture

Developer at @thoughtworksbr. In love with JavaScript, CSS, React. A11y enthusiast. Loves share knowledge. Likes are only to see later 😉

Belo Horizonte/Mg/Brasil
Joined September 2011
Photo by Legolas (@wlegolas)Photo by Legolas (@wlegolas)Photo by Legolas (@wlegolas)Photo by Legolas (@wlegolas)Photo by Legolas (@wlegolas)
FYI I just shipped a huge improvement to /improve-codebase-architecture It now ships with a glossary of terminology to describe good/bad codebases Essential reading for anyone wanting to improve their codebases: github.com/mattpocock/skills…
37
218
7
3,005
146,453
Passei o fim de semana criando minhas próprias Skills no Claude Code. Resultado: Automatizei 5 tarefas que eu repetia TODO dia. A ideia é economizar 8 horas só essa semana. Aqui está o tutorial completo de como criar suas Skills customizadas (+ exemplo e MCP): 🧵
21
55
2
1,191
119,133
Legolas retweeted
Introducing React Doctor Scan your React codebase for anti-patterns: - Unnecessary useEffects - Fix accessibility issues - Prop drilling instead of context / composition Run as a CLI or agent skill. Repeat until passing. Fully open source
345
750
131
10,366
1,082,268
❌ Rendering 10,000 items at once ✅ Rendering only what's visible
15
82
7
1,397
124,410
O Google acaba de lançar cursos gratuitos de IA. Não há taxas de inscrição nem precisas de conhecimentos prévios. Aqui estão 8 cursos que não vais querer perder.
2
101
2
845
45,219
Legolas retweeted
This tool gives you perfect Tailwind backgrounds in seconds! I'll share all cool open source projects from my friends here on Twitter Started first with @meghtrix 5/100
7
12
1
228
15,987
💡 CSS Tip! In Anchor Positioning, you can use position-area to place an element relatively to its anchor, but there are 36 different positions !? 👀 No one can memorize them all, so I've created an interactive demo from where you can get the code. css-tip.com/position-area/
3
54
2
448
43,133
Legolas retweeted
I like my custom @DrizzleORM logger. Feels like I’m ruling the database.
7
6
221
16,233
Legolas retweeted
shadcn CLI 3.0 is now available: support for namespaced registries, advanced authentication, new commands, and a completely rewritten registry engine. Let’s take a look at what’s new ↓
105
221
45
3,025
312,682
Legolas retweeted
Ok these are the TOOLS (not libraries) TO MAKE @shadcn BEAUTIFUL that I found so far ⚔️ - Tweakcn: Make beautiful Shadcn themes by @iamsahaj_xyz - PatternCraft: Amazing backgrounds just to copy paste by @meghtrix - @v0: Simple prompting makes your UI beautiful - Evil Charts: Awesome animated charts to copy paste by @legionsdev - Spaceman-RTA: Fancy theme changing animations by @TonyEdgal Need 5 more to complete the Top 10 list. What else should I add? 👀
I'm looking for tools to make @shadcn apps beautiful for my next video. Any suggestions?
9
13
1
264
30,523
You asked, I answered: Here's how to stream 'next question suggestions' using the AI SDK. Get ready for your feed to be full of production-ready patterns like this.
9
30
454
29,523
🧵 It's 3 AM. Your app is making the same API calls thousands of times. Rate limits are hitting. Timeouts everywhere. Your makeshift Map() cache is eating all your RAM. There's a better way. Let me show you how we got 550x faster responses with undici-cache-redis 👇
7
36
2
363
40,017
If you notice prettier-plugin-tailwindcss isn’t sorting tailwind classes correctly, it’s because starting from v4 you need to specify your CSS entry file. This was driving me crazy 😅
12
13
1
306
24,729
Como você lida com erros no Node.js? Se você só usa "throw new Error", pode estar deixando passar muita coisa já que não é possível diferenciar erros esperados dos não-esperados. Uma forma elegante pra iniciantes é nomear cada erro esperado e estender uma classe base 👇🏻
2
7
1
104
5,652
Microsoft acaba de lanzar "MCP para principiantes". Diseñado para desarrolladores y desde cero. ✓ Disponible en Español ✓ 25 módulos: fundamentos, servers, devtools... ✓ Ejemplos en Python, JavaScript, C# .NET y Java → github.com/microsoft/mcp-for…
8
414
2
2,377
114,715
CSS Tip 💡 You may not know that we can define rotation using "turn" unit in CSS 🤩👇
9
92
3
719
31,549
Legolas retweeted
want to increase the click area without messing up your layout? try `:after` with `position: absolute` + `inset: -{value}px` this creates a larger, invisible hit area around the element, making it easier to click without changing the layout
38
143
14
3,040
326,710
HTML tips you won't see in most tutorials:
60
176
11
1,429
143,351
📚 Got some questions around the `select` option lately: - How to make typed abstractions - How to make sure it doesn't run too often So per my own rules, I had to write a blogpost about it: tkdodo.eu/blog/react-query-s…
9
21
1
212
10,105