Eric Clemmons πβοΈ
16.9K posts
Principal Software Engineer at Cloudflare. Fixer. I wrote that JavaScript Fatigue post 10 years ago. Sorry bout that.
- β Still using [].join(', ') for your strings? β Use Intl.ListFormat instead π developer.mozilla.org/en-US/docs/Webβ¦
GIF- π« Introducing... π± <ClickToComponent /> π¦ Option+Click a Component in the browser to instantly open the source in your editor. Tested with Next.js, Create React App, & Vite (React) github.com/ericclemmons/cβ¦
00:00 - βοΈ codelift β a #nocode GUI for your existing React code. Hover to preview CSS (like @tailwindcss), click to Apply. 1οΈβ£ yarn add codelift --dev 2οΈβ£ yarn codelift Works with create-react-app and Next.j out of the box! github.com/ericclemmons/cβ¦
00:00 - Years ago, I applied for a job. I asked for $90k (what my previous employer said I wasnβt worth). He countered with $100k: βyouβre worth more than you think.β Find an employer who will invest in and be fair to you.
- This is the goal for @terse/webpack that covers 95% of my projects + escape hatch for going back to plain #webpack.
- My best tip to developers is to COMPLETE. THE. PIPELINE. Building a website? Deploy day 1. Need a database? Wire it up, even if you donβt have data. Want Auth? Configure it EARY. Your proof-of-concept should have all the moving parts in place FIRST. Go deep later!
- π My new favorite thing: 1οΈβ£ Write a Story in @storybookjs 2οΈβ£ Automate interactions with `.play()` 3οΈβ£ Save network calls to .HAR file 4οΈβ£ Story.parameters = { har: require('path/to.har') } π Fast, CI-friendly E2E tests that work offlineπ΅!
- Replying to @AngelaRiggs_Keep 1-on-1s, don't cancel or move them because of a "fire". Delegate cool projects to keep people engaged. Code less. Build bridges with other departments. Give individuals a chance to lead (vs funnelling through you). Encourage career growth, irrespective of team/company.
- Unpopular opinion: docs should live with code.
- I just published βJavascript Fatigueβ medium.com/@ericclemmons/β¦ Thanks to @matthiasak & @AntJanus
- π₯Super-simple #webpack demo of Server-Side Hot Module Replacement (e.g. live-reloading) π github.com/ericclemmons/wβ¦
GIF




