Eric Chernuka (@ericchernuka) profile picture

Software Dev and avid two-wheeler. Currently at @getjobber. Previously: @purpose_med, @symendinc

Canada
Joined November 2008
Photo by Eric Chernuka (@ericchernuka)Photo by Eric Chernuka (@ericchernuka)Photo by Eric Chernuka (@ericchernuka)Photo by Eric Chernuka (@ericchernuka)Photo by Eric Chernuka (@ericchernuka)Photo by Eric Chernuka (@ericchernuka)Photo by Eric Chernuka (@ericchernuka)Photo by Eric Chernuka (@ericchernuka)Photo by Eric Chernuka (@ericchernuka)Photo by Eric Chernuka (@ericchernuka)
Eric Chernuka retweeted
What is an implicit state machine? Your apps are full of state machines, which is the logic that says "when we're in this state, and this event happens, now we're in this state" (given, when, then). Sometimes those state machines are clearly mapped out (switch statements, reducers, tables/maps, libraries like XState for the more complex ones, etc.) and the logic is explicitly enumerable. And sometimes it's not. The ad-hoc logic is spread all over the place. That's how developers typically code, and that's how agents typically vibe-code (they learned from you). Those are implicit state machines. What's wrong with implicit state machines? It's not clear what state transitions are possible, so you might have "allowed" states that should have been impossible without knowing it. Agents make the same mistakes. You can get all tests passing and your code review agents (even the well-funded ones) can say "LGTM" and you can *still* have very bad bugs because an implicit state machine allowed unexpected or illegal behavior. (Remember the Apple FaceTime bug?) So yeah, making your app logic explicit is important.
55
85
20
1,348
125,018
I just shipped a change that made our PR review agent: 12x cheaper 6x faster Catch 4x as many real issues All from two simple tweaks 👇🏻
20
11
3
252
50,091
Eric Chernuka retweeted
shoot for 2-3x faster - get that right. Then you can go chasing 10x 100x
Replying to @awscloud
The real bottleneck was never writing code. It's releasing it, debugging it, & keeping it running well. So when @Honeycombio CTO Charity Majors set a productivity target, she didn't chase 10x. She chose 2x, & built from there.
4
6
65
12,754
I'm increasingly convinced that @cursor_ai is affecting the TypeScript Language Server in our monorepo. Open the same project in VSCode, and lookups are instant. Cursor, 5-10s "Loading...". Incredibly frustrating.
111
With React 19.2 out, is useSyncExternalStore working in concurrent mode in any roadmap! Br nice for Tanstack Router to be able to tap back in suspense.
3
931
Data has just received a rewrite that might make it the most elegant data modeling/querying library for JavaScript. - Standard Schema-driven; - ORM methods inspired by Prisma; - Relations inspired by Drizzle; - Client-side sync and persistence. github.com/mswjs/data
2
6
38
6,776
This talk was fantastic. I appreciated the classic React chaos trap with monolithic components and then untangling it into a maintainable future.
Composition is all you need. Watch the full video below.
1
3
980
Composition is all you need. Watch the full video below.
In 30 minutes, I’m giving the first talk at React Universe: Composition is all you need Link below.
49
105
30
1,258
318,910
Eric Chernuka retweeted
Startups have to rediscover zero bug bounce Every few sprints get to zero P2 bugs before you start new feature work. Otherwise your product will be a low quality mess forever. One part of great craft is getting to zero known bugs regularly.
50
53
25
1,125
324,054
Eric Chernuka retweeted
Introducing @base_ui 🚀 ✔️ 25 accessible UI components ✔️ Unstyled. Compatible with any styling engine. ✔️ Fully composable with an open API I'll highlight some of my favourite features in the thread 🧵⬇️
67
100
39
1,195
373,787
Anyone have good resources on getting up to speed on state machines / XState? Also, is it ok to just sprinkle state machines in an app to start? Mostly coming from CRUD/URL React based apps that haven’t required them, but wanting to level up for more complex interactions.
1
1
271
Let’s say I love the ergonomics of @tan_stack router and query, but I’m building a public site that needs SEO. Is there a relatively lightweight first render solution to get a nice first render, but then just become an regular ole SPA after?
2
8
2,539
Eric Chernuka retweeted
I wrote a blog post about avoiding some common mistakes made by UIKit programmers trying SwiftUI for the first time. dev.jeremygale.com/avoid-the…
1
2
116
This week TypeScript absolutely destroyed me while attempting to build an inferred state machine configuration. My brain hurts, but I just can’t let it go.
1
2
560
Listen motherfuckers I DID my time in the CSS trenches and Tailwind is my reward.
39
99
14
1,122
92,927
Eric Chernuka retweeted
Replying to @JamesClear
@JamesClear, #1 New York Times bestselling author of Atomic Habits is coming to Jobber Summit, our FREE online event on March 6. 🎉⁠ James Clear is a writer, keynote speaker, and one of the world’s leading experts on habit formation, decision making, and continuous improvement.
4
16
13
1,092
Eric Chernuka retweeted
Tailwind without components is not better than CSS alone. Tailwind *with* components is what you always dreamed of having - one place for markup and style, in an easy to consume language that winds up reflecting your domain.
1
12
1,512