David K 🎹
@DavidKPiano
Followers
77K
Following
105K
Media
1K
Statuses
26K
Making state machines at @statelyai · prev. @Microsoft · I play piano
Orlando, FL
Joined December 2012
We're making it even easier to create state diagrams. ➡️ state . new
42
184
2K
All I want for Christmas is a good local open-source tab autocomplete model
4
2
44
Some @xstate/store updates: New `store.with(…)` API for adding store extensions (undoRedo, etc.) Undo/redo now has `strategy: 'snapshot'` for traditional snapshot-based history Go-to-definition now "just works" for triggers!
5
4
121
Do I really have to explain why this is bad code? There's no race condition prevention nor error handling Please don't say "this code is fine" - read up:
maxrozen.com
If you're using useEffect to fetch data, chances are you've either run into a race condition, or have one without realising it. Let's learn how to fix them in this article.
10
9
161
It's time to stop using RSCs and put your fetch calls back in useEffect() where you can DDOS your servers because of a missing dependency/faulty logic instead of worrying about RCE exploits
28
28
473
If you're reading, reviewing, iterating on, or editing AI-generated code, you're not really vibe-coding anymore (and that's a good thing)
6
3
42
I love it when web apps gift-wrap themselves in modals during the holiday season 🎁
1
1
26
I used to think that XState was only used for very specific, niche complex logic use-cases Seeing this never fails to blow my mind 🤯 Working every day to make it even simpler and better
9
0
123
Oh no, I've reached the point of UI engineering where I have to use Math.atan2()
20
5
475
I still call it "Twitter" Not out of principle or anything, but because "X" is a pretty dumb name for an app
39
16
546
The finite state machine is one of the easiest patterns for managing complexity. Yet I hardly see it used.
61
12
692
Screenshots of code in marketing materials always look nice until you zoom in and actually read the code
2
1
13
What if the future of UX isn’t just faster… but multidimensional? In the upcoming #AlgoliaDevBit, @keyframers’ @davidkpiano & @shshaw dive into a speculative 4D interface that blends creative animation with the power of LLMs integrated into Algolia Search. 🎟️ Don’t miss it →
1
4
8
Just paused the state management at scale course from @FrontendMasters and the amazing @DavidKPiano to say holy shit!! Didn't expect to be getting some really interesting insights but I'm pleasantly surprised.
1
2
14
If you disagree, just read the docs: https://t.co/1DoffOHGAp
https://t.co/HQmE2rfOEA I'm just trying to push devs towards better practices
react.dev
The library for web and native user interfaces
1
0
28