Twitter | Search | |
Sophie Alpert
🍓🍊🍋🍏🐋🍇 bad at writing, great at editing. eng manager of at FB. 💎🌸 she/her. I'm trans!
6,637
Tweets
772
Following
37,371
Followers
Tweets
Sophie Alpert 9h
Replying to @kentcdodds
p.s. yours doesn’t support functions in either the init or reducer
Reply Retweet Like
Sophie Alpert 20h
Replying to @rauchg
how else would you write println? seeing as the arg types depend on the format string
Reply Retweet Like
Sophie Alpert 20h
Reply Retweet Like
Sophie Alpert 22h
Replying to @porglezomp
you could always use react ;), it’s pretty ok
Reply Retweet Like
Sophie Alpert 22h
Replying to @porglezomp
ya :( one idea I had with hooks is you can make a useFormField helper that stores the state, which is convenient and sufficient for most use cases
Reply Retweet Like
Sophie Alpert 22h
Replying to @emilymhorsman
that’s because when I reply “omg those look delicious” to selfies people think I’m weird
Reply Retweet Like
Sophie Alpert Nov 17
Replying to @DaveJ @javcau and 4 others
I would have loved to make this message more specific but this seemed to be the best we can do. Open to other ideas.
Reply Retweet Like
Sophie Alpert Nov 17
Replying to @DaveJ @javcau and 4 others
It’s not possible for React to reliably distinguish between an async function and a function that returns a promise.
Reply Retweet Like
Sophie Alpert Nov 17
btw it’s not new, react has followed this for years
Reply Retweet Like
Sophie Alpert Nov 17
Replying to @sophiebits
there's other cool stuff there like these perfect steven universe chibi stickers
Reply Retweet Like
Sophie Alpert Nov 17
Replying to @sophiebits
also just *look* at that doggo's beautiful tongue
Reply Retweet Like
Sophie Alpert Nov 17
Need a holiday gift? My amazing, talented spouse Oliver is drawing pet portraits! You can get a painting of a special pupper or kitty (or snek, etc) in your life. Follow their art at or check out their Etsy (use HAPPYHOLIDAYS for 20% off):
Reply Retweet Like
Sophie Alpert Nov 17
One option is monkeypatching console.error in your test environment to throw or otherwise fail the test. In React's own repo we have something a little more elaborate: .
Reply Retweet Like
Sophie Alpert Nov 17
Replying to @mbrevda @dan_abramov
you mean this? looks interesting
Reply Retweet Like
Sophie Alpert Nov 17
Replying to @emilywithcurls
enemy!!
Reply Retweet Like
Sophie Alpert Nov 17
Replying to @emilywithcurls
2. enemy
Reply Retweet Like
Sophie Alpert Nov 17
Replying to @emilymhorsman
omg those look delicious
Reply Retweet Like
Sophie Alpert Nov 16
Replying to @nrrrdcore
lmk if you need any help! happy to
Reply Retweet Like
Sophie Alpert Nov 16
MICHAEL SCOOP
Reply Retweet Like
Sophie Alpert Nov 16
luv 2 use user interfaces
Reply Retweet Like