Patrick Richardson retweeted
PSA: You probably aren't using PropertyKey enough.
It represents any valid key in JavaScript: string, number or symbol.
And it's globally available in every TS project.
Patrick Richardson retweeted
React Server Components allow you to call your database directly from a component.
And that's great... but how do we make sure this code never ever runs on the client?
Patrick Richardson retweeted
I made a video about macros in JS/TS. Let me know what you think.
youtube.com/watch?v=qLmfsNg9…
Patrick Richardson retweeted
once you realize React is the most successful active research project on the web, life gets a lot easier
Patrick Richardson retweeted
If you use React, you should be using a React framework. If your existing app doesn't use a framework, you should incrementally migrate to one. If you're creating a new React project, you should use a framework from the beginning.
Patrick Richardson retweeted
Do you sit at a computer for longer than 6 hours a day?
You’re destroying your body if so.
Here’s the setup you need to protect yourself from posture problems and crippling long-term injuries:
🧵
Patrick Richardson retweeted
Folks say the art of the commit message is dead 😂
Joe !== Chance
github.com/seattlejs/seattle…
Patrick Richardson retweeted
In general, if you see any mention of class components, the docs/tutorials are outdated.
Patrick Richardson retweeted
There's a lot to unpack here - so let's get to it!
#DEVCommunity
dev.to/melnik909/css-isnt-ma…
Patrick Richardson retweeted
Is React 18 double calling useEffects a mistake, or a sign of an awesome feature that will help you build more reliable components? Let's find out! youtu.be/j8s01ThR7bQ
Patrick Richardson retweeted
Two articles introducing the #HTML `inert` attribute now that browser support is getting better:
On the Webkit blog: webkit.org/blog/12578/non-in…
On the Chrome devs blog: developer.chrome.com/blog/in…
Patrick Richardson retweeted
A junior dev asked me in DMs what advice I’d give them for their first 30 days on their first coding job. I ran this past a group of other very experienced senior devs and got the thumbs up from them.
Here we go….
Patrick Richardson retweeted
Yesterday I rented a boat and took the leader of one of Flexport's partners in Long Beach on a 3 hour of the port complex. Here's a thread about what I learned.
Patrick Richardson retweeted
MADRE MÍA. 🤯
GitHub Copilot creando un componente ENTERO de React sólo indicando su nombre y sus props.
OMG. ⬇️
Patrick Richardson retweeted
Debug JavaScript like a pro!
Get to know the 22 methods.
Explanations inside 🧵👇
Patrick Richardson retweeted
It's amazing how similar React hooks and Vue composables are at first glance. But the way they work is the inverse! 😲
In React, hooks run on each render. useMemo/useCallback to recompute only when needed.
In Vue, composables run only once. Use computed to recompute on change.

























