Playing with new React API ideas this weekend. It’s interesting how my critiques largely center around what will feel intuitive to people at a first glance. What will feel weird?
-
Show this thread
-
By consequence, the API might end up shaped in large part by current trends at the time it’s chosen (OO vs FP, etc) even though it might be better long term to pick something that’s less familiar but better in another way.
5 replies 0 retweets 24 likesShow this thread -
Replying to @sophiebits
More and more, I look for clear FP primitives and OO skins. The skins can move more readily as trends change, and the slower-moving primitives ensure interop across the skins.
3 replies 0 retweets 3 likes -
-
Replying to @amatchneer @sophiebits
It's not really about "imperative" honestly.
1 reply 0 retweets 0 likes
I don't like distinguishing between mutation and the "pass around some state that gets returned" pattern, except that the latter is a little more explicit, and therefore is nicer for primitives.
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.