DraftCode (@MathForDev) header
DraftCode (@MathForDev) profile picture

Code drafts for your app: Laravel, Symfony, Vue, React, Tailwind CSS

Joined September 2021
DraftCode retweeted
Disabled input fields aren't a loading strategy. Show a loading indicator. Disabled buttons aren't a validation strategy. Show a helpful message when someone clicks the button. Disabled buttons aren’t a security strategy. Visually hide features people can’t use. Or, display a helpful message if they try doing something they can’t do yet. Disabling is rarely the right approach. There's typically a more accessible, user-friendly option.
16
17
1
196
24,059
Design Systems Surf is a database of best-in-class Design Systems, organized and sorted by components and directories. designsystems.surf
2
4
447
Replying to @housecor @tan_stack
Nice introduction video on Tanstack Router: teapawt.net/mankms/status/17396235…
RIP React Router? @t3dotgg Tanstack Router is a HUGE release and it's going to change how we think about our routes forever. youtu.be/LVzG3nncE4M
1
532
DraftCode retweeted
RIP React Router? @t3dotgg Tanstack Router is a HUGE release and it's going to change how we think about our routes forever. youtu.be/LVzG3nncE4M
4
1
9
1,429
DraftCode retweeted
I spent more time with @tan_stack Router 1.0 on a long flight today. This is big. ✅SSR ✅Caching ✅Context ✅Data loaders ✅Error handling ✅Code splitting ✅Elegant type-safe API It's more than a router. It's basically a TypeScript-optimized React framework. 🤯
16
44
3
726
97,427
📕 Tailwind has a scalability problem. How can we solve that? 👉🏻 Tailwind CSS is known for its focus on class-based design, but the emphasis on classes can pose scalability challenges. byteofdev.com/posts/scale-ta…
3
7
3
39
4,950
🛠️ Ark UI 👉🏻 A headless library for building reusable, scalable design systems. 👉🏻 Over 30+ components (ColorPicker, DatePicker, and more...) 👉🏻 Works in React, Solid, and Vue 👉🏻 Bring your own styling solution ark-ui.com/
1
6
39
4,364
📕 Revealing Memory Leaks in Frontend Applications (Nuxt.js/Vue) 👉🏻 In this comprehensive article, you'll embark on an in-depth exploration of memory leaks. medium.com/@samer.kmd/reveal…
15
79
6,931
Another Pest release today! As you may know, Pest is the first testing framework in the world natively supporting "Type Coverage". And now, you can ignore specific lines from the type coverage report by using the `pest-ignore-type` annotation. Just what you asked for! 😊
2
4
1
52
13,660
I am in love with Livewire.
30
21
2
339
35,455
DraftCode retweeted
When people asked me what AI has to do with frontend, this was what I imagined people will build. Props to Vercel for actually doing it!
v0 by Vercel Labs Generate UI with simple text prompts. Copy, paste, ship. Explore the prompt library and join the waitlist today. v0.dev
11
49
1
810
160,033
DraftCode retweeted
My talk "Creating Reusable Components...That Are Actually Reusable" from @ReactRally just posted on YouTube! I welcome your feedback. youtube.com/watch?v=L0PZhSJU…
5
28
2
201
21,131
DraftCode retweeted
CSS Nesting just landed in Firefox 117 which puts it at 100% browser support! You can start using it today — here are 11 examples on how it works 👇
115
883
173
5,020
849,730
Tailwind is the only maintainable way to style websites. 🤷‍♂️
181
189
76
1,986
379,961
Replying to @KevinNaughtonJr
To write good code you have to write bad code and then clean it. All good code comes from bad code that you have cleaned.
4
25
2
245
15,156
DraftCode retweeted
Watch Jake Bennett's "State Machines" talk from Laracon aggregate.stitcher.io/post/2…
1
1
10
2,431
Is your package still using vendor:publish to install stuff into a Laravel app? Consider using our spatie/laravel-package-tools package so you can easily add a user-friendly install command to your package: github.com/spatie/laravel-pa… #laravel #php
3
11
1
86
13,817
DraftCode retweeted
I built ChessFor.com because I wanted to use on my mobile device: 1. My favorite chess DB. 2. Nice chess AI for game analysis. And now I have it ❤️ It's amazing how much a single dev can do in his free time.
2
2
22
1,288