David Clark (@davidtheclark) header
David Clark (@davidtheclark) profile picture

Ready.

Tucson, AZ
Joined March 2013
Photo by David Clark (@davidtheclark)Photo by David Clark (@davidtheclark)Photo by David Clark (@davidtheclark)
Replying to @code
@code very recently vscode started auto-splitting long prose lines as i type against my will. in markdown and js comments, at least. i cannot figure out how to turn this off! my text-editor settings have auto-formatting disabled; i've disabled my prettier extension. any hints?
1
oh i found that an extension i had long forgotten about had autoupdated and changed its behavior! apologies.
1
For that reason, the solution cannot be to pay hobbyists to maintain ad eternum some project they worked on in the past for fun and have since lost interest in. You cannot simply transform hobbyists hacking out of passion into obedient corporate workers by throwing money at them.
1
3
9
Is there any precedent for @reactjsSSR where the JS that gets delivered-mount-hydrated only includes interactive portions of the page (instead of everything that was already in HTML)? For pages with lots of content, few buttons. (@kylemathews I wonder if you've look into this?)
1
Protip: If you’re going to start a question with “Why don’t you/they just” — stop yourself. You don’t know the complexity and nuances of other people’s work. Do not start by presuming there’s a simple solution and they’ve been waiting for you to suggest it and save them.
3
20
3
91
Why is it that every state management library for @reactjs uses Context — instead of a state independent of the tree but injectable into it? What is the design advantage to tying shared state into the React tree? (redux is independent, but react-redux ties state into the tree.)
1
Just published v5 of cosmiconfig. Revamped the API in an effort to make searching and parsing as flexible & customizable as possible. It was an interesting API-design problem — hope the solution works out. github.com/davidtheclark/cos…
1
2
🤔 Is it universally considered superior JS code design to have *separate* async and sync functions, rather than single fns with "sync: boolean" args/options? Precedent suggests "Yes!" but I'm having trouble finding articulated statements/arguments (besides those in my own head)
1
You can now search and kill processes by port number with the latest `fkill-cli` version, thanks to @kevvayo. github.com/sindresorhus/fkil…
16
304
16
891
I new very useful tool for @Browserslist. To downlload your browsers statistics from Google Analytics and use `> 1% from my stats` in @Autoprefixer nitter.cf/Browserslist/status/97…
The new browserslist-ga tool from @dmfrancisco will download your website browserslist statistics to use it in `> 0.5% in my stats` query in @Autoprefixer, @babeljs, and other Browserslist’s tools. github.com/dmfrancisco/brows…
6
13
Does anybody advocate a live-reloading dev server npm package? Ideally one that offers a server.reload() method, so I can manually trigger the reload instead of relying on file watching. And more minimal than browser-sync, I guess.
1
Find Turf useful? The vast majority of Turf has been built in spare time by contributors from a diverse range of backgrounds with the goal of making spatial analysis accessible to everyone. Support the volunteers who donate their time to build, support, and maintain the project! nitter.cf/tmcw/status/9693365560…
10
10
Q for people into CSS-in-JS and bundling styles with components: How do you deal with element resets or normalization? Each component must assume some reset or lack-of-reset in the parent page's CSS?
3
1
David Clark retweeted
9.0 is out! It adds experimental support for (whitespace-based) Sass syntax, a `--max-warnings` CLI flag, four new rules and a few new options. Node@6+ is now needed to run stylelint stylelint.io/CHANGELOG/#900
8
2
13
David Clark retweeted
With our new client-side hillshade layer, add realistic terrain with custom styling to your maps buff.ly/2ET8CTj
11
30
David Clark retweeted
Introducing Expressions in GL JS - uncover a more sophisticated relationship between your data + how it is styled buff.ly/2xlOR28
🚨 We at @Mapbox are looking for frontend engineers eager to grapple with challenging problems: mapbox.com/jobs/878971/ 🚨
1
4
David Clark retweeted
✨ take a tour of Mapbox Studio's fresh new look buff.ly/2wLNFEX
2
8
3
16