
David K 🎹
@DavidKPiano
Followers
75K
Following
103K
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
187
2K
If you're not constantly keeping up to date with the latest AI technologies, updates, and announcements, you are seriously falling behind (temporarily until something better comes out in ~2 weeks)
5
0
61
The examples are React but this isn't a React-specific tip because it makes it really easy to use whatever framework you want with the exact same logic
0
0
7
The store instance is responsible for 3 things: - Managing state (single source of truth for domain) - Updating state (exposes way to trigger transitions) - Executing side-effects (reaction to transition) And that's all you really need for complex UIs.
2
0
30
The most flexible pattern I've found to build compound UIs: a headless store. 1. Create store instance (local or global) 2. Pass it in to components (or use context) More control than render props, HOCs, refs, or classic compound components IMO
23
6
176
Skip the expensive IVs! Oral NAD+ precursors like NMN and NR are scientifically proven to work better and last longer. Access the benefits at home with bioavailable ingredients you can trust.
5
2
34
Just did a quick test with Remix v3 + XState. It works! (I kinda knew it would)
7
8
124
I feel like XState + Remix v3 is going to fit very naturally together
7
2
135
Join our national channel program and turn every sale into evergreen commissions. With high payouts and limited space, now is the time to act.
0
3
26
Don't click this button ❌ Take a few seconds to be responsible and understand what changes are being made
9
0
31
Sorta joking but if you're worried about reactivity in Remix v3, why not just go full game loop
2
0
68
If you think phonics alone explains the Mississippi Miracle, you’re missing the playbook. Mississippi led its own revival and held the line for 12 years. The real story? A governor’s commitment shaped the outcomes. Here's the secret behind Mississippi’s education miracle — and
1
2
11
Okay, hear me out... const update = () => { this.update(); requestAnimationFrame(update); } update();
24
2
288
I know graphs can be cyclic or acyclic but have you ever seen a bicyclic graph?
0
3
19
Real reason why you shouldn't: you'll forget it's there and may accidentally conditionally render it, which definitely breaks the rules of hooks
2
0
14
It breaks the first rule of hooks but it still works because the hook is called in the same order every time
10
2
82
React core team is probably sleeping, post unholy React tips Did you know that you can use hooks inside of JSX? You definitely shouldn't, but you can
41
9
537
Every day I fight the urge to buy one of these laptop holder thingies
33
4
144
Sure you can just put Monaco in there with a way to generate the JSON schema if you need to for 10x better UX but what's the fun in that?
1
0
1
A lot of people are making fun of AgentKit's structured output form and I think it's unfair. Do you know how hard something like this is to vibe code?
11
2
55
🍁 Fall in Cody Yellowstone: wildlife watching, blue-ribbon fishing on the Shoshone, the Chief Joseph Scenic Byway, and the 5-museum Buffalo Bill Center of the West. Just 52 miles from Yellowstone’s East Gate.
0
0
3