Twitter | Search | |
This is the legacy version of twitter.com. We will be shutting it down on 15 December 2020. Please switch to a supported browser or device. You can see a list of supported browsers in our Help Center.
David K. 🎹
🎹 Pianist | πŸ’» Software Developer | πŸ‘¨β€πŸ’» state machines, animations | πŸŽ₯ | πŸš€ Creator of XState
12,913
Tweets
1,988
Following
29,651
Followers
Tweets
David K. 🎹 2h
Replying to @donavon
(Use CSS grid!)
Reply Retweet Like
David K. 🎹 6h
Replying to @erikras @acemarke
I'd still prefer doing this, as long as Redux stays "action-first" instead of "state-first"... How awesome would this be for RTK: builder.addState(isLoading, stateBuilder => { stateBuilder.addCase(success, ...) })
Reply Retweet Like
David K. 🎹 6h
Replying to @dmakogon @gavination2
The best way to wake up is to just chew coffee beans and gargle hot water
Reply Retweet Like
David K. 🎹 7h
Replying to @tannerlinsley
Test
Reply Retweet Like
David K. 🎹 7h
Replying to @tannerlinsley
Congrats!! Happy fatherhood (again)!!
Reply Retweet Like
David K. 🎹 7h
Replying to @http406 @ThugDebugger
Yeah, that's the "brings me joy" part
Reply Retweet Like
David K. 🎹 7h
This is absolutely incredible: Monument Valley in only CSS+HTML by !
Reply Retweet Like
David K. 🎹 7h
Replying to @gavination2
If you're creative, cereal does not require dishes
Reply Retweet Like
David K. 🎹 7h
Replying to @ThugDebugger
Random follower here, but I appreciate your stuff! I think the key to engagement is realizing people on here want 3 things in a tweet IMO: - Does it help me/bring me joy? - Is it relatable/do I strongly agree with it? - Do I disagree so much I want to quote-tweet it?
Reply Retweet Like
David K. 🎹 8h
Replying to @VictorBjelkholm
Forgot about this law! It's so true, though.
Reply Retweet Like
David K. 🎹 8h
Replying to @emiliacodes
Depending on the answer, they *will* find you πŸ˜…
Reply Retweet Like
David K. 🎹 8h
You can solve *any* problem if you believe in yourself, put your mind to it, and tweet the wrong answer then wait 5 minutes.
Reply Retweet Like
David K. 🎹 8h
Actor model is even more classic than OOP, and OOP was supposed to be more like the actor model. See here:
Reply Retweet Like
David K. 🎹 18h
πŸ‘† Really important question. It's becoming harder to know *how* something can fail in React, especially if it works 99% of the time and the code seems logically sound.
Reply Retweet Like
David K. 🎹 18h
Replying to @AdamRackis @Yagaboosh
If you mean "does it work correctly in StrictMode now", then... yeah, for the most part. I will direct all further questions to the Department of Staying On React 16 Forever
Reply Retweet Like
David K. 🎹 19h
Replying to @Yagaboosh @AdamRackis
What she said πŸ‘† XState + Svelte integration is pretty simple too; `readable` makes this an absolute breeze: XState + React integration was a bit more painful.
Reply Retweet Like
David K. 🎹 22h
Replying to @ryanflorence
This has "actor model" written all over it. Imagine if form components were actors: - They have their own local, private state - They can receive "messages" from the outside - They *decide* what to do based on those messages... like change state (but only if they want!)
Reply Retweet Like
David K. 🎹 24h
Replying to @AdamRackis
Oh these tricks are applicable to *all* frameworks, don't worry!
Reply Retweet Like
David K. 🎹 Nov 29
I'm speaking at Reactathon about some new (and pretty wild) React + XState tricks - be sure to register for πŸ†“!
Reply Retweet Like
David K. 🎹 Nov 29
Replying to @underscorefunk
Nice! Is it open-source somewhere?
Reply Retweet Like