chancethedev Profile Banner
@chance.dev 🦋 Profile
@chance.dev 🦋

@chancethedev

Followers
9K
Following
27K
Media
2K
Statuses
15K

404

Joined February 2018
Don't wanna be here? Send us removal request.
@chancethedev
@chance.dev 🦋
4 years
I will never forgive JavaScript for this
Tweet media one
81
484
4K
@chancethedev
@chance.dev 🦋
2 years
Love our little language 🥰
Tweet media one
115
197
4K
@chancethedev
@chance.dev 🦋
3 years
Do not write software with bugs. Instead, write software without bugs. That way your software will have no bugs!.
167
266
3K
@chancethedev
@chance.dev 🦋
5 years
Life hack for when you’ve got too many docker containers running
Tweet media one
26
119
1K
@chancethedev
@chance.dev 🦋
2 years
Tough but fair
Tweet media one
6
132
1K
@chancethedev
@chance.dev 🦋
6 years
I have the hardest time quitting work for day if I’m working something tough and haven’t solved it yet. But if I write code after 6ish I can’t sleep because I’ll replay the problem in my brain all night. Is this a common phenomenon in our field or am I just losing it?.
122
55
1K
@chancethedev
@chance.dev 🦋
3 years
Did you know about the CSS image-set function? Let the user's device/browser choose the best image for them, similar to srcset for <img>!
Tweet media one
13
135
922
@chancethedev
@chance.dev 🦋
4 years
I’m real close to quitting web tech and launching a new stud-finder startup, because there is absolutely no way this is the best we can do here.
72
21
805
@chancethedev
@chance.dev 🦋
5 years
I just realized I probably have to learn how to reverse a linked list now NOOO.
30
25
649
@chancethedev
@chance.dev 🦋
5 years
Million dollar idea: a recipe website that isn’t a huge pain in the ass to use.
45
28
622
@chancethedev
@chance.dev 🦋
4 years
Tweet media one
@reactjs
React
4 years
As 2020 comes to an end we wanted to share a special Holiday Update on our research into zero-bundle-size React Server Components. The demo is available now whether you want to play with it during the holiday, or when work picks back up in the new year.
Tweet media one
6
86
643
@chancethedev
@chance.dev 🦋
1 year
dying inside
Tweet media one
28
17
637
@chancethedev
@chance.dev 🦋
3 years
Possibly hot take: feels like a lot of JS devs just like TypeScript for the intellisense but treat proper type guards as a burden.
34
42
589
@chancethedev
@chance.dev 🦋
4 years
Most expensive key I’ve ever bought
Tweet media one
27
3
582
@chancethedev
@chance.dev 🦋
5 years
I’ve learned a lot from @cassidoo but by far my favorite is this terrifying emoji sequence . 👁👄👁.
11
17
536
@chancethedev
@chance.dev 🦋
5 years
So all 4 members of my family who confirmed positive for the 'rona have recovered and are feeling good. We'll take the small win.
18
7
544
@chancethedev
@chance.dev 🦋
3 years
Announcement time! And I am *stoked* for this one. Working on @remix_run has taught me that there's a lot that happens on the back end of the stack that frontend devs should probably understand a bit better. I'm building a course to help you get there.
22
67
515
@chancethedev
@chance.dev 🦋
5 years
Gotta update my resume to add "2 years of experience building a custom select".
4
23
477
@chancethedev
@chance.dev 🦋
4 years
If you are:. - comfortable writing TypeScript/React.- care about accessibility.- want to contribute to open source but don't know where to start or what to do. I marked some Reach UI issues as "Help Wanted" yesterday and would love to squash some bugs!
7
120
446
@chancethedev
@chance.dev 🦋
6 years
So this isn't a secret but I've never been 100% comfortable taking about it in public, either. Still not. But if you didn't know, hi 👋 I'm bi. And now you know. #BiPrideMonth.
14
5
406
@chancethedev
@chance.dev 🦋
3 years
@patrickdebois It’s only a distinguished engineer if it’s from the distinguished region of France. Otherwise it’s just a sparkling developer.
2
14
419
@chancethedev
@chance.dev 🦋
2 years
New year new setup
Tweet media one
32
11
438
@chancethedev
@chance.dev 🦋
4 years
Half-baked JavaScript thought of the day:
Tweet media one
65
32
430
@chancethedev
@chance.dev 🦋
5 years
I really like writing CSS.
36
28
383
@chancethedev
@chance.dev 🦋
3 years
Tweet media one
10
7
382
@chancethedev
@chance.dev 🦋
4 years
Have I mentioned lately how CSS custom properties are the best?
Tweet media one
10
21
375
@chancethedev
@chance.dev 🦋
5 years
@ryanflorence @ReactTraining @bradwestfall @cassidoo Sad indeed, but it wasn’t the worst day of mine. You and @mjackson were model bosses and it was a great pleasure to be along for the ride. Thank you both for the trust, awesome job, and continued support.
4
6
339
@chancethedev
@chance.dev 🦋
4 years
Achievement unlocked: a single dangling cable behind the desk
Tweet media one
20
5
328
@chancethedev
@chance.dev 🦋
1 year
If the CSS purists would admit (like I do) that they just enjoy writing the actual CSS instead of utility classes, this mindless debate could actually, finally die.
25
12
319
@chancethedev
@chance.dev 🦋
3 years
:where() is a CSS super power for building reusable components. Pretty much any selector at any level of complexity can be built with 0-1-0 specificity, meaning users can override them with just a class selector. Highly underused.
5
27
301
@chancethedev
@chance.dev 🦋
1 year
🔥 TypeScript tip: Frustrated to see type errors when using CSS custom properties in a React component's 'style' prop? Solve this problem once and for all with module augmentation. Peep the docs to understand how this works:
Tweet media one
7
32
305
@chancethedev
@chance.dev 🦋
2 years
Weird that folks blame GDPR for this rather than the companies that absolutely refuse to stop tracking our every move.
@Robotbeat
Robotbeat🗽 ➐
2 years
GDPR made the internet significantly worse. We can admit this now, right?.
10
35
277
@chancethedev
@chance.dev 🦋
6 years
I honestly hate to even share this, but those is such an exhausting take. Not only is it wrong, it's a blazing red flag that you're working with a lazy designer. "In general, the more accessible an interface is, the less aesthetic appeal it has.". NO.
@uxmovement
UX Movement
6 years
🔥 New article live!. The Aesthetic-Accessibility Paradox.
11
35
261
@chancethedev
@chance.dev 🦋
2 years
Someone build this and I bet 60% of the hate goes away
Tweet media one
44
5
279
@chancethedev
@chance.dev 🦋
4 years
I keep Facebook around for the sole purpose of checking out UI changes + see real-life implementation of new React features. Why on earth does it take almost a second to close a photo modal? Does it tear down and rebuild all underlying DOM between state changes? If so. why??.
20
24
259
@chancethedev
@chance.dev 🦋
7 years
Can't believe I didn't know about #CSS feature queries until now. What an incredible way to use the good ol' cascade in your favor to use bleeding edge CSS features today. Shoutout to @jensimmons for her amazing tutorial series at #webdev
Tweet media one
3
52
229
@chancethedev
@chance.dev 🦋
4 years
Honestly might have to drop an invoice on @jlengstorf for this one
Tweet media one
19
2
234
@chancethedev
@chance.dev 🦋
3 years
Oh hey, my new @eggheadio course dropped, and as an added lil christmas treat it's completely FREE! 💸. Wanna learn how to refactor an existing React application to TypeScript (or just play around with my Minesweeper app 💣)? I gotchu:
10
42
233
@chancethedev
@chance.dev 🦋
4 years
Normalize starting your own business just to avoid someone else's lint rules.
3
14
226
@chancethedev
@chance.dev 🦋
10 months
Stuff like this reinforces my view that the idea of readability is entirely subjective and not worth discussing in most cases. I'd 100% write it the first way but I wouldn't suggest it in a code review if someone opted for the second.
@housecor
Cory House
10 months
The most common needless use of `let` I see:. Setting an initial value, followed by mutations. This is hard to read because it requires the reader to hold the initial value in their head while reading, and monitor any mutations along the way. Solution: Call a function instead.
Tweet media one
29
8
229
@chancethedev
@chance.dev 🦋
2 years
@K1ngHandy It doesn’t append, 0.5 is interpreted as a string and becomes an object property.
3
0
220
@chancethedev
@chance.dev 🦋
4 years
lol what
Tweet media one
11
0
212
@chancethedev
@chance.dev 🦋
3 years
I've got 99 problems and literally all of them are because of Jest.
15
6
208
@chancethedev
@chance.dev 🦋
5 years
In my humble opinion, Listbox is the best UI component I've written. Super proud of this one even though I know it can still be better. If you absolutely need a custom select (you should usually default to HTML if possible), I'd appreciate feedback!.
17
16
223
@chancethedev
@chance.dev 🦋
1 year
Cleaning up some old codesandboxes this morning and here it is, the dumbest thing I've ever written
Tweet media one
10
9
216
@chancethedev
@chance.dev 🦋
4 years
I will not step foot in a self-driving car until someone can show me a stud-finder that works even 60% of the time.
4
6
204
@chancethedev
@chance.dev 🦋
4 years
Pssst, did you know that you can use CSS custom properties in your color functions?
Tweet media one
4
11
206
@chancethedev
@chance.dev 🦋
3 years
good luck w/ your new startup @cassidoo
Tweet media one
3
5
207
@chancethedev
@chance.dev 🦋
2 years
tfw it makes perfect sense but you hate it all the same.
2
0
193
@chancethedev
@chance.dev 🦋
3 years
You write tests, I don’t write bugs. We are not the same.
4
11
195
@chancethedev
@chance.dev 🦋
2 years
All good things come to an end, and few things in my career have been as good and rewarding as my time on the @remix_run team. I close out this chapter with a heavy heart and tremendous pride in what we've built.
17
0
189
@chancethedev
@chance.dev 🦋
6 years
@Cubano_Boxing "'He assaulted (Roof) for no reason,' Cannon said.". I think it's probably safe to say this is not accurate.
0
4
161
@chancethedev
@chance.dev 🦋
3 years
The hardest part of using tailwind for me is making sense of the sometimes mile-long string of classnames. Simply concatenating from an array makes this 5 billion times nicer.
Tweet media one
34
9
182
@chancethedev
@chance.dev 🦋
4 years
I love that I get to work on open source for a living because god knows I have absolutely no energy to do so after work hours. No idea how y’all do it but good on you.
6
2
171
@chancethedev
@chance.dev 🦋
3 years
Working on a high-profile open source project means someone will see every mistake you make, and they will call you out on it in like 5 minutes max.
9
6
180
@chancethedev
@chance.dev 🦋
4 years
I've been teaching workshops on React for a few months now, and one thing almost every team asks about at some point is folder structure and "best practices".
23
15
177
@chancethedev
@chance.dev 🦋
3 years
It’s become popular to shit on hooks and long for the days of simpler lifecycle methods. I know closures can be a footgun, but almost every time I refactor a relatively complex class component to a function I find subtle bugs. I’m still quite happy with the change.
9
5
172
@chancethedev
@chance.dev 🦋
1 year
hot take maybe but code readability is always subjective and people should just adapt to read whatever code style the team adopts and shut up about readability.
16
5
162
@chancethedev
@chance.dev 🦋
4 years
Wanna make a billion dollars? Quit making CSS-in-JS libs and do some housework one weekend, this shit is trapped in the 1980’s!.
7
2
152
@chancethedev
@chance.dev 🦋
5 years
My girlfriend leaves me notes in the morning when she wants me to do some chore around the house, but she makes sure to lay it on thick before the ask.
Tweet media one
Tweet media two
12
3
156
@chancethedev
@chance.dev 🦋
4 years
Got to chill with @swyx today. 10/10 would recommend.
Tweet media one
2
1
159
@chancethedev
@chance.dev 🦋
4 years
oh no please don’t follow me because of this tweet, you’ll be very disappointed.
9
1
144
@chancethedev
@chance.dev 🦋
5 years
Trying to get a head start on the post-pandemic renaissance by making very important things
Tweet media one
4
10
148
@chancethedev
@chance.dev 🦋
5 years
@Betraydan Perhaps, but consider how many of us started learning about design by tweaking our start menus, desktop icons and winamp skins! I’m pretty excited that people get this opportunity again on a whole new medium.
1
1
148
@chancethedev
@chance.dev 🦋
5 years
Super tired of these all white, all male tech panels. Especially when the conference is remote and the barrier to entry is as low as it possibly could be. Monoculture Is poison to community—and it's just plain boring.
3
19
142
@chancethedev
@chance.dev 🦋
4 years
A friend just sent me this face mashup of Jesse Pinkman and Walter White and it’s literally just me, wtf
Tweet media one
1
6
140
@chancethedev
@chance.dev 🦋
6 years
@WesleydeSouza @BenLesh JS and CSS newly being of drinking age explains a lot over the past few years.
2
12
138
@chancethedev
@chance.dev 🦋
4 years
My career has taken some twists and turns these past few years, but if I’ve learned anything it’s that I do best by keeping an open mind for the right opportunities. In one month I’ll be twisting and turning yet again, but I’m stoked to help build the web with @remix_run!.
11
3
142
@chancethedev
@chance.dev 🦋
2 years
@tylermcginnis Doubly so in strict mode!.
2
2
132
@chancethedev
@chance.dev 🦋
2 years
Hard to overstate the impact that @markdalgleish has made in a very short amount of time on the @remix_run team. Pretty soon we'll support your favorite CSS tooling out-of-the-box (if we don't already, thanks to his features shipped over the past 2 weeks!) 🧁.
4
4
135
@chancethedev
@chance.dev 🦋
1 year
12
4
132
@chancethedev
@chance.dev 🦋
8 months
Not sure what all the fuss is about, web components are pretty cool
Tweet media one
6
3
130
@chancethedev
@chance.dev 🦋
3 years
Today I finally got CSS Modules working in @remix_run and I'm quite stoked about it.
8
3
125
@chancethedev
@chance.dev 🦋
4 years
Working on something fun for my first @eggheadio course 💣
10
5
122
@chancethedev
@chance.dev 🦋
4 years
IE, dang
Tweet media one
6
6
127
@chancethedev
@chance.dev 🦋
4 years
It feels very good to work on a product that I also enjoy as a user. @remix_run, free and OSS, coming at you next week!.
6
4
124
@chancethedev
@chance.dev 🦋
4 years
HBO MAX_SAFE_INTEGER.
2
6
115
@chancethedev
@chance.dev 🦋
2 years
37
Tweet media one
18
0
123
@chancethedev
@chance.dev 🦋
4 years
I’m so 35 that soft-close drawers are legitimately sexy to me.
13
2
113
@chancethedev
@chance.dev 🦋
1 year
The `asChild` API in Radix seemed like a great idea at the time but after being on the other side as a user, I think it's just way too big a footgun.
15
5
123
@chancethedev
@chance.dev 🦋
5 years
Very excited to announce that I am going to use this time between jobs to become funny on Twitter.
10
2
117
@chancethedev
@chance.dev 🦋
1 year
I bet someone at Google wrote a dissertation on why this is actually correct.
1
0
121
@chancethedev
@chance.dev 🦋
5 years
@kvlly 4. If an engagement feels too friendly to need a signed contract, you DEFINITELY need a signed contract.
4
4
113
@chancethedev
@chance.dev 🦋
5 years
My new favorite color is Crater Lake Blue
Tweet media one
5
1
113
@chancethedev
@chance.dev 🦋
3 years
Love being 35, waking up every other morning with a new pain wondering if this is the one that finally kills me.
7
5
115
@chancethedev
@chance.dev 🦋
3 years
@microchipgnu @onirenaud “Promotes harmonious human-machine relations” is a great linkedin bio.
1
4
110
@chancethedev
@chance.dev 🦋
4 years
Tomorrow I get to work on @remix_run 😍😍😍.
3
0
113
@chancethedev
@chance.dev 🦋
3 years
@AraArajay @JustJen82 @naledimashishi aye that’s a lot of boxes
Tweet media one
2
4
109
@chancethedev
@chance.dev 🦋
2 years
Building my own lil storybook clone with Vite and the new React Router data APIs. Super fun and no more wild dependency mess!.
8
1
109
@chancethedev
@chance.dev 🦋
4 years
Playing with some API abstractions for protected routes in React Router 6. Kind of digging this
Tweet media one
7
11
107
@chancethedev
@chance.dev 🦋
5 years
It's extremely difficult if not impossible to do better than this. Zion National Park, UT
Tweet media one
Tweet media two
Tweet media three
8
1
102
@chancethedev
@chance.dev 🦋
4 years
It's ya boi's first React Router release 🥳.
@remix_run
Remix 💿
4 years
📣 Just released React Router v6.0.0-beta.1 🥳🥳 . • Squashed some nasty bugs 🐛.• TypeScript improvements 🤓.• And more goodies! 🍬. Full release notes: Huge thanks to all of our amazing contributors! 🤝.
3
4
108
@chancethedev
@chance.dev 🦋
1 year
I understand the appeal of libraries like tailwind-merge but folks should really re-think the runtime overhead they introduce in the name of developer convenience.
17
0
109
@chancethedev
@chance.dev 🦋
5 years
@KeziyahL Really wild how he thought this one needed its own explainer video
Tweet media one
1
0
100
@chancethedev
@chance.dev 🦋
5 years
My elementary-teacher girlfriend is clearly bored and missing her classroom, which has resulted in some interesting art around our place. In other news: I’m joining the UI team at @Modulz in a couple of weeks!
Tweet media one
16
4
104
@chancethedev
@chance.dev 🦋
4 years
I think @remix_run will be my last start-up before I pursue something with big tech. That said, I very much hope Remix *will be* the big tech, and my pursuit a more formal, senior-level (executive?) role. We’ve got the solid foundation and a good scrappy team to get it done.
5
0
108
@chancethedev
@chance.dev 🦋
4 years
I really, really hope forwardRef is baked in to function components in the next major React release. Typing generic components around that API is going to be the death of me.
4
6
102
@chancethedev
@chance.dev 🦋
6 years
It's 2019 and deleting node_modules before npm install still solves like 90% of my build problems.
7
10
98
@chancethedev
@chance.dev 🦋
1 year
A little airplane tinkering for my Remix pals
Tweet media one
7
6
103
@chancethedev
@chance.dev 🦋
4 years
New office is set up. Needs a coat of paint and a plant or two, but feeling freeeeesh
Tweet media one
12
2
101