Thomas Belin (@atomrc) 's Twitter Profile
Thomas Belin

@atomrc

Front-End Architect 🤘

I leave code cleaner than I found it.

ID: 534678984

linkhttp://blog.atomrc.dev calendar_today23-03-2012 18:29:03

7,7K Tweet

892 Followers

387 Following

Thomas Belin (@atomrc) 's Twitter Profile Photo

Anyone with experience with webgl? I have a question about sharing texture between different programs :) stackoverflow.com/q/78586142/274…

jhey ▲🐻🎈 (@jh3yy) 's Twitter Profile Photo

Fade elements in and out on scroll in a window with CSS? ✅ ul { scroll-padding-inline: 200px; } article { animation: highlight; animation-timeline: view(inline); } @​keyframes highlight { entry 0%, exit 100% { opacity: 0; } entry 100%, exit 0% { opacity: 1; } } cc Adam Wathan

Cory House (@housecor) 's Twitter Profile Photo

A Zod misuse I've noticed: Validating function args. Zod is for validating runtime input: - URL params - HTTP Responses - localStorage - Cookies - Reading from files Avoid using Zod to validate function args. The args are already strongly typed by TypeScript itself.

A Zod misuse I've noticed: Validating function args.

Zod is for validating runtime input:

- URL params
- HTTP Responses
- localStorage
- Cookies
- Reading from files

Avoid using Zod to validate function args. The args are already strongly typed by TypeScript itself.
Ahmad Shadeed (@shadeed9) 's Twitter Profile Photo

✍️ New Guide: CSS Grid Areas I wrote a new ✨ interactive ✨ guide that explores CSS grid areas, line numbers, line names, and includes many interactive examples to experiment with. Happy learning! 🔗 ishadeed.com/article/css-gr…

Seb ⚛️ ThisWeekInReact.com (@sebastienlorber) 's Twitter Profile Photo

📜 DRY – the common source of bad abstractions - Swizec Teller Greatly illustrates how React devs could end up creating the wrong abstraction Popular React UI libraries learned over the year to not over-abstract, giving you more flexibility swizec.com/blog/dry-the-c…

📜 DRY – the common source of bad abstractions - <a href="/Swizec/">Swizec Teller</a> 

Greatly illustrates how React devs could end up creating the wrong abstraction

Popular React UI libraries learned over the year to not over-abstract, giving you more flexibility

swizec.com/blog/dry-the-c…
David K 🎹 (@davidkpiano) 's Twitter Profile Photo

Okay, listen. If you're going to fetch in useEffect(...), you should at least make sure that you're handling: - Loading states - Error handling (rejections & HTTP error codes) - Race conditions & cancellation This isn't over-engineering. It's the minimum code to prevent bugs.

Okay, listen. If you're going to fetch in useEffect(...), you should at least make sure that you're handling:

- Loading states
- Error handling (rejections &amp; HTTP error codes)
- Race conditions &amp; cancellation

This isn't over-engineering. It's the minimum code to prevent bugs.
Matt Pocock (@mattpocockuk) 's Twitter Profile Photo

TypeScript 5.6 beta brings a sweet new feature - the ability to spot faulty logic in your if statements. SO many subtle will be prevented by this. Really nice stuff.

TypeScript 5.6 beta brings a sweet new feature - the ability to spot faulty logic in your if statements.

SO many subtle will be prevented by this. Really nice stuff.
Liran Tal (@liran_tal) 's Twitter Profile Photo

Passle Folks you probably want to actually get the update from my personal blog which INCLUDES UPDATES: lirantal.com/blog/zero-depe… Sadly, the hashnode syndication is unhelpful because it doesn't pick up on edits I push on my own blog

Matt Pocock (@mattpocockuk) 's Twitter Profile Photo

Useful thing to remember when climbing the ladder: The people above you are not as good as you think they are. No one is supernatural.

Jake Archibald (@jaffathecake) 's Twitter Profile Photo

📝 JavaScript garbage collection doesn't work how I expected when it comes to closures. TIL! jakearchibald.com/2024/garbage-c…

Dominik 🔮 (@tkdodo) 's Twitter Profile Photo

📚 I like xstate/store so much that I will probably use it over zustand the next chance I get. I wrote about the reasons in this blog post: tkdodo.eu/blog/introduci…

Matt Pocock (@mattpocockuk) 's Twitter Profile Photo

I just wrote a massive guide to creating and publishing a package on npm. It goes from an empty directory to a production-ready setup. It's over 4,000 words, and has a 14-minute walkthrough video. Want the juicy bits? Time for a thread 👇 🧵

I just wrote a massive guide to creating and publishing a package on npm.

It goes from an empty directory to a production-ready setup.

It's over 4,000 words, and has a 14-minute walkthrough video.

Want the juicy bits? Time for a thread 👇 🧵
Thomas Belin (@atomrc) 's Twitter Profile Photo

After 2 weeks using only Zed (switching from vscode), I can say that I really like it. It feels so snappy and responsive!! I can only recommend giving it a try ✨

Thomas Belin (@atomrc) 's Twitter Profile Photo

It just occurred to me that I am, regularly, reading the most rust-themed children's book ever to my 1.5y-o son: "don't `panic!` little crab" He got an early kick start into rust 😎 #rust

It just occurred to me that I am, regularly, reading the most rust-themed children's book ever to my 1.5y-o son: 

"don't `panic!` little crab"

He got an early kick start into rust 😎
#rust
Hiroki Osame (@privatenumbr) 's Twitter Profile Photo

Are you using tsx to import source files across workspace packages? You may be making expensive trade-offs without realizing it Here's a breakdown of the risks and better alternatives: 👉 hirok.io/posts/importin…