Consultant. Sharing coding tips. I help devs grow. Teaching software dev: https://t.co/D5emROQa4J Helping teams switch to React: https://t.co/Qfp4Tfp3jf ⚛️reactjsconsulting.com Kansas CityJoined January 2009
Problem: “Duplication is often better than the wrong abstraction”.
Solution: I typically abstract via small, focused, pure functions.
A pure function is simple:
✅ Doesn’t mutate args.
✅ Doesn’t rely on outside state.
✅ No side-effects. Always returns the same output for a…
File-based routing vs code-based routing:
File-based routing:
✅ Enforces standardized conventions so there is a documented pattern for finding any page’s code.
✅ Less configuration code. Just put a file in the right spot with the right name. No routing code required.
🚩…
“Duplicated code is often better than wrong abstraction.”
“Excessive copy/paste bloats the code, hurts consistency, slows reading, increases bug risks, and makes it harder to scale.”
Both are true.
So, avoid copy/paste. But also avoid premature abstractions.
It’s a balance.
This image is from the book “What’s Our Problem” by @waitbutwhy.
Some speech is inherently dangerous (like yelling “Fire!” in a theater). So some speech must be limited.
But otherwise, strive to honor free speech. Watch out for idea supremacy. It’s the opposite of free speech.…
Most teams have a CI build that must pass before merging code to the development branch.
But few teams have a CI build that must pass before deploying to specific environments like staging or prod.
Example: Before I merge to the staging branch, a CI build confirms the build…
In the last 10 years I think the change that has most improved my web development experience is moving from JavaScript to TypeScript.
I haven't seen "undefined is not not a function" in years.
I check the docs less often because autocomplete is fantastic.
I don't write imports…
Problem: I want to show a spinner if any React Query mutations are in progress.
Solution: useIsMutating. This hook returns true if any mutations are running.
Problem: I want to show multiple spinners, depending on which mutations are pending.
Solution: useMutationState. This…
Sometimes the divide between the backend and frontend leads to massive waste.
Example: I'm looking at a web page that displays 6 numbers. Sounds simple. But, here's how it gets the 6 numbers: It requests an array of 1.2MB (75,000+ lines!) of JSON. 🤯The client iterates over this…
Imagine being stuck with a substandard approach because React was overly opinionated.
Thankfully React didn't make that mistake.
React lets me pick the best tools in the ecosystem for my unique needs.
Imagine being stuck with a substandard approach because React was overly opinionated.
Thankfully React didn't make that mistake.
React lets me pick the best tools in the ecosystem for my unique needs.
Not one, but TWO workshops offered at @ReactRally
The one and only @housecor will be sharing an impressive 10 years of Advanced React with us!
Early bird tickets are live now, snag them before they are gone!
Problem: Fetching in useEffect is clunky, verbose, and error prone.
Solution: Use one of these instead:
1. React Server Components
2. Tanstack Query
3. Tanstack Router loaders
4. React Router loaders
5. Remix loaders
6. RTK Query
7. Apollo
8. swr
Challenge: Name something that a software developer should *always* do.
Is there a single practice that always applies?
"Write tests". Not always worth it.
"Do code reviews". May pair instead.
"Set up a CI server". Overkill when working alone.
I can only think of 2 practices…
These results blow my mind.
2,000+ responses and nearly 50% say you should *always* create a REST/GraphQL API in front of the DB.
Always?
No exceptions?
What if it’s a server-rendered app and it’s the only app using the DB? What does putting a REST/GraphQL API in front of…
142K Followers 581 FollowingFull-time TypeScript educator. Ex-@vercel, @statelyai. Used to be a voice coach. He/him. Author of Total TypeScript 🧙 Hire me to teach your team TypeScript!
37K Followers 382 FollowingSoftware Engineer • Maintaining TanStack Query • blog at https://t.co/tqjsQfLXIR • Frontend Tech Lead @myadverity • ReactJs • TypeScript • Father of two 👧👦
64K Followers 728 Following⚔️ Sir Tan of the Stack 🎉 TypeScript 🌎 Web ⚛️Open Source Software💡UI/UX/DX 🎯 SEO 💼Co-Founder @NozzleIO 🛠Creator @tan_stack 👨👩👧👦@Ch_JesusChrist
38K Followers 1K FollowingSenior Web Engineer at Spotify. Prev, Riot. Next, React, Svelte, C++ when I'm feeling nasty. Beer, whiskey, coffee snob. Book lover. Jr Developer for life.
47K Followers 3K Followingpractically irresistible. violently suburban. I made a jQuery plugin, gave a few talks and made a couple beats. https://t.co/6BFTpb3nXX
19K Followers 2K Following👋 I'm Alex & I tweet about web dev stuff.
👉 Creator of @trpcio (⭐️30k+).
🧙♂️ Open-sourcerer & fully-stacked typescripter.
🗣 Speak 🇸🇪🏴🇧🇷
3 Followers 61 FollowingHelping organisations build quality into their software and applications through Automation and Quality Assurance, delivering solutions using the latest tech
397 Followers 4K FollowingLoves Jesus❤️. Interested in stocks and crypto. Made my first $100k from Doge. Please hesitate to contact me😊. No DMs please.
15 Followers 66 FollowingMy name is Glory Akpan, a Data analyst, tech savvy in general. In search of a remote jobs, part time 🙏🙏
will be preferable
I am really glad to be here 🙏
208 Followers 2K FollowingIMPORTANT, PLEASE READ:
This account is REAL. I am a REAL person. Please contact me on LinkedIn. Email: [email protected], Curren-joe-t Singh
142K Followers 581 FollowingFull-time TypeScript educator. Ex-@vercel, @statelyai. Used to be a voice coach. He/him. Author of Total TypeScript 🧙 Hire me to teach your team TypeScript!
37K Followers 382 FollowingSoftware Engineer • Maintaining TanStack Query • blog at https://t.co/tqjsQfLXIR • Frontend Tech Lead @myadverity • ReactJs • TypeScript • Father of two 👧👦
64K Followers 728 Following⚔️ Sir Tan of the Stack 🎉 TypeScript 🌎 Web ⚛️Open Source Software💡UI/UX/DX 🎯 SEO 💼Co-Founder @NozzleIO 🛠Creator @tan_stack 👨👩👧👦@Ch_JesusChrist
38K Followers 1K FollowingSenior Web Engineer at Spotify. Prev, Riot. Next, React, Svelte, C++ when I'm feeling nasty. Beer, whiskey, coffee snob. Book lover. Jr Developer for life.
47K Followers 3K Followingpractically irresistible. violently suburban. I made a jQuery plugin, gave a few talks and made a couple beats. https://t.co/6BFTpb3nXX
6K Followers 388 Followingprogrammer but also a little bit of code-poet wannabe, maintaining XState, Emotion, redux-saga & more, OSS enthusiast, working at @statelyai
70K Followers 415 Following🚀 Site-Speed Optimisation Expert; Web Performance Consultant. I make websites faster so you make more money. #webperf #corewebvitals https://t.co/tqsYJMXgS5
39K Followers 767 FollowingPlangineer (AICP) when I’m at work, alter ego CityNerd when I’m not. New videos on cities and transportation every Wednesday. https://t.co/WVjqtam1Ly
13K Followers 962 FollowingSending web dev news to 5k people at https://t.co/VBZXGxIpP7.
@GoogleDevExpert, @playwrightweb Ambassador, @tinyhelpersdev
https://t.co/vuqqzKfMmq
he/him
504K Followers 513 FollowingOfficial X account for The Kobeissi Letter, an industry leading commentary on the global capital markets. Email us: [email protected]
41K Followers 1 FollowingBun is a fast, all-in-one toolkit for installing, bundling, running and testing JavaScript & TypeScript. To install: `npm i -g bun`
56K Followers 319 FollowingScaling startup operations & execution - I help founders turn their vision & goals into results. | Advisor to 10+ tech ventures from $5-$30M.
122K Followers 1K FollowingIdea to software, fast.
Build and deploy software collaboratively with the power of AI without spending a second on setup.
Need help? @ReplitSupport
3K Followers 3K FollowingBuilder, speaker, father and curious. In varying order. CTO @ https://t.co/cig7cDTNnY, helping people get some legal order in their life.
Also at @[email protected]
9K Followers 2K FollowingOpen source maintainer dev person
👨💻 Maintainer @tseslint, committer @geteslint
👪 @BosTypeScript lead
✍ @LearningTSBook buy my book!!!
🌟 Microsoft MVP
628K Followers 108 FollowingDay Job: I invest and scale companies at https://t.co/gQN7OehYd2 | Co-Owner, Skool. Side Hustle: I make content showing how we do it. Grab my new book here ⬇️
147K Followers 439 FollowingI make AI stuff. Teaching AI skills @TakeoffAI, building codegen tools @CodewandAI, open source AI chat @ChatbotUI. Investing in AI startups.
3.4M Followers 0 FollowingOpenAI’s mission is to ensure that artificial general intelligence benefits all of humanity. We’re hiring: https://t.co/dJGr6LgzPA
26K Followers 777 FollowingOwner ecom biz and multiple car wash locations. Pay almost no income tax.
I break it all down in my free weekly newsletter, click here👇
77K Followers 10K FollowingA podcast about the fight against car culture. Hosts @buttermilk1, @BrooklynSpoke & @Naparstek.
Find us on other platforms
https://t.co/VejuUVGUBe
7K Followers 1K FollowingBuilding @getwebstudio, NoCode, CSS, TypeScript, React,
Ex eng @tesla, @webflow
Semantics is just meaning. Lines of code Spent.