Twitter | Search | |
James Long
Contracting as Shift Reset LLC. Furiously working on and will despair if not launched soon. Created . Ex-Mozilla.
15,805
Tweets
823
Following
17,958
Followers
Tweets
James Long Dec 14
Replying to @iddan
404?
Reply Retweet Like
James Long Dec 14
Replying to @DavidKPiano
Interesting! Are there benefits of that example specifically over `.transform = ...`? (specifically perf benefits)
Reply Retweet Like
James Long Dec 14
Replying to @DavidKPiano
Can you use those everywhere? Like `border: 1px solid var(--border-color)`? Or `transform: translateX(var(--translate)px)`?
Reply Retweet Like
James Long Dec 14
Replying to @brian_d_vaughn
Now that I think about it, many of them could be built as predefined static styles that are "chosen". That could work. I ignore all of this completely and use inline styles everywhere, with a custom hoisting babel plugin. I love it...
Reply Retweet Like
James Long Dec 14
Replying to @brian_d_vaughn
Makes a lot of sense for theming, or more broad data. My app is very dynamic so I use dynamic styles all over the place, I think it would be a lot more verbose this way. :)
Reply Retweet Like
James Long Dec 14
Replying to @modernserf
Neat! I think something that gets lost in CSS discussions is the variety of apps - some are extremely heavily dynamic, other have more static styles. The solutions will depend on the kind of app you're making.
Reply Retweet Like
James Long Dec 14
Replying to @andrewdushane
The raw `style` prop, so you're applying CSS truly inline?
Reply Retweet Like
James Long Dec 14
Replying to @modernserf
vars? Can you give an example?
Reply Retweet Like
James Long Dec 14
If you’re using CSS modules, how do you use dynamic styles that require data from JS? (I admit I haven’t looked at other solutions for a long time, genuine question)
Reply Retweet Like
James Long Dec 14
Replying to @threepointone
I still use glamor, it's the best
Reply Retweet Like
James Long Dec 14
Replying to @_jayphelps
What about a bot that runs prettier on the whole project and if it finds differences automatically opens a PR?
Reply Retweet Like
James Long Dec 14
Replying to @potch
Exciting!
Reply Retweet Like
James Long retweeted
Dick King-Smith HQ Dec 12
This just about sums things up, I think you'll find.
Reply Retweet Like
James Long Dec 13
Replying to @jlongster
(Almost lost my entire financial history from the past ~3 years... luckily found a backup from 2 months ago)
Reply Retweet Like
James Long Dec 13
Fun thing about dog fooding: blowing away all of your personal production data while developing.
Reply Retweet Like
James Long Dec 13
Replying to @kevzettler
No idea! Doubt it would have made a huge impact, as far as I know at some point they started moving away from it.
Reply Retweet Like
James Long Dec 13
where should we report errors in Refactoring UI? I'm pretty sure some of the colors in your color palettes don't match the hex.
Reply Retweet Like
James Long Dec 13
Replying to @jamiebuilds
YES! Ok I won't block you
Reply Retweet Like
James Long Dec 13
Replying to @jlongster
A big reason I didn't move is The Snow. OMG so much snow.
Reply Retweet Like
James Long Dec 13
Replying to @jlongster
It would have been a very cool job, but it's good I didn't take it and move to Montreal because I started dating my wife 2 months later :)
Reply Retweet Like