Unpopular opinion:
Telling young people to work-life balance is actively harmful. Your 20’s are the best time to grind. You have lots of energy and few responsibilities.
a good 20’s grind creates the space to chill in your 30’s and beyond
The curse of the format
A blog is free
A pdf is an email
A book is $30
A course is $300
A coaching is $3000
A consulting is $30000
They all have the same content
Databases are snake_case!
API layer is snake_case!
JavaScript is camelCase!
How many engineer decades have we lost as an industry on converting between these formats for zero benefit?
Today is my birthday which means I've been coding for 25 years. A quarter century 😱
Here's 25 lessons I've learned about code. In no particular order. 👇
You think the American dream is dead? 🇺🇸
5 years ago I came here with a 60k salary, 5k in the bank, and $0 side hustle. Total leap of faith.
Now I have a 175k base, 6 months in the bank, a 60k side hustle, and 130k savings. 💪
Shut up and work.
The weird thing about TypeScript is how easy it is to learn.
Spend an afternoon to read the docs and you’re ready. No gotchas, no weird stuff.
Add 2 weeks of using TS on a real project and you can’t imagine ever going back to plain JavaScript.
Achievement unlocked: Zero to 6-figure savings in 4 years 🤘 🎉
Yes I know this is in bad taste but fuck it I get to celebrate my life achievements even in 2020
Beginners, please, just build stuff. Any stuff. That’s all you need. Learn just enough to make the next step in your project.
Forget learning paths, they’re all dumb. Reality doesn’t work that way. Enjoy the mess.
There’s a variation on this theme where people tell devs trying to land their first job to “start contributing to open source”
I’m always stunned how terrible that advice is
Hungry newbies should be hitting up local recruiters, not hanging around OSS repos (unless they want to)
My sister got into Joe Rogan and stuff, became vaccine sceptical, and mentioned the other day that “It’s not entirely clear who’s the bad guy in this Ukraine thing”
And like … what do I do? How do you fix a person on this path?
Omg I just built the simplest way to add authentication to your React app. Should seriously open source it
Handles everything for you. Users, login forms, redirects, sharing state between components. Everything
Wanna see something wild?
This is a search-as-you-type that uses navigate() on every keypress. Keeps all important state in the URL. Page reload and browser navigation always works.
thanks to TanStack Router 🤘
For the record: When I say "grind" I mean on things that are beneficial to your long-term goals. Not staying at the office late on Friday writing bugs nobody wants.
Omg I just opensourced the simplest way to add authentication to your React app.
Handles everything for you. Users, login forms, redirects, sharing state between components. Everything
👉
github 👉
try 👉
Funfact about conspiracy theories (also religions):
They largely exist because humans would rather believe someone, anyone, is in charge than accept that reality is inherently random and uncontrollable.
Alas I can’t remember where I read that
A guy once asked for a refund because
"$49 is way too much for material I blazed through in 1 hour"
Dude, that's years of experience you absorbed in 1 hour ...
Who are these people that find $49 isn't worth saving hundreds of hours? 🤨
There is some math to support this.
A person who saves $1k/mo for 7 years then stops saving and waits 20 years, will have more money than a person who waits 7 years then saves $1k/mo for 20 years.
compound interest is weird like that
✍️ 5 years of books & courses, or how I made $369k on the side
Includes what worked and what didn’t — mindsets, tactics, and strategies. Everything I tried plus how much it cost and the time it took. No bullshit
enjoy ❤️
I think
@tannerlinsley
has done it again. TanStack Router is the modern React for the rest of us.
All the power of a Remix or a NextJS with none of the server-side headache (unless you want it) 🤘
Some fun stats from product sidehustle land 👇
Since March 2015
2695 hours
1.8 hrs/day average
3-ish products
~2800 sales
$139,208 revenue post fees
$81,767 expenses
$21/hour 🤔
This must be why most people share only the revenue numbers
#open
I tried something dumb and it didn't work 🥳
Did you know Vercel has a 14kb limit on URL length? I know that because I'm a bad person
Gzipping your params doesn't work. The stringified binary gets even longer than the original input. I'm gonna have to rearchitect the app 😅
TypeScript syntax is easy to learn.
But the value of
#TypeScript
comes when you use it to describe your domain model. You can't learn that from a tutorial.
@diegohaz
@AdamRackis
The lack of excitement you see means that React has won. It crossed the chasm. Hard.
No longer the exciting toy for early adopters, React has morphed into a reliable workhorse for the pragmatic developer who has a job to do. Like Java.
As promised, a working demo of React 18's new startTransition feature ✌️
Now with more insight into WHY this feature is so exciting and how it improves your apps. Enjoy ❤️
read 👉
try 👉
Folks this is it, Serverless Handbook is available on Amazon 🚀
👉
If you've been thinking about diving into modern backend, this is the book for you
thread for details 👇
It's crazy how many engineers see their job as "Get spec, write code"
NO! Your job is to work with domain experts, add software expertise, and design solutions to fuzzy problems.
Writing code is the boring part.
How to become a millionaire if you can code
1. Get coding job
2. Quit and new job every 2 years – 30% raise
3. Put 20% in index funds
4. Wait 16 years
Start wealth: $0, start salary: $100k
End with $1,238,883
Start at 25, retire by 41. But ain't nobody talk about *that* 🤔
GraphQL solves every problem you've ever had talking to APIs on the frontend.
Try to switch to GraphQL and your team thinks it's a joke. Rewrite our entire app? oh you jokester. 🤣
React Query is the perfect middle ground ❤️ thanks
@tannerlinsley
@tannerlinsley
@kentcdodds
That's because ISO strings are in UTC.
Looks funny but it's one of the most consistent APIs in JavaScript. Dates are local time, ISO strings are ISO strings.
@jlongster
Just the difference in the culture of "PR is a core, if not most important, part of my job" versus "PR is that shit I do for others" makes a huge difference
LEARN WHILE YOU POOP: Why you should learn React 🧐
Hi 👋 I’m trying something new and need your feedback. What do you think of this as a format for a daily 2min video?
No pressure learning at 2 minutes per day.Start with WHY React all the way to a React 16.3 master in a month.
8 years ago today I moved to USA with 1 suitcase, 1 carry-on, a teddy bear, and a 6mo business visa.
The plan was simple: “I’ll figure out how to stay when I’m there”
so far so good
”Should I quit my coding job to learn a new stack?”
No. You will learn more in a year of solving real problems with real stakes than 2 years of pet projects.