Relying on object property order for a styling API. Good or bad? eg. styles({ backgroundBlue: true, backgroundRed: true, }); In this case the background would be `red` as it appears last. Relying on property order feels gross but can't think of a better API?
-
Show this thread
-
Replying to @sebmck @dan_abramov
{ background: http://backgrounds.blue } ?
1 reply 0 retweets 5 likes -
+1
1 reply 0 retweets 0 likes
Sebastian Retweeted Sebastian
Sebastian added,
11:36 AM - 16 Oct 2018
0 replies
0 retweets
1 like
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.
he/him 