Jason Miller πŸ¦Šβš›

@_developit64k followers

Platform DX @Shopify. Created @preactjs. Do more with less. @developit@mastodon.social

Open on X
Top outlier
7.9Γ—
Best organic post
Peak views
332k
Single post
Bookmarks
7.7k
Across 100 organic posts
Last scan
Oct 17
Community cache
Posts 100 posts
#DatePost↓ OutlierViewsLikesRepostsBookmarks
1Nov 22, '21git blame7.9Γ—04.1k61659
2Feb 14, '23With the new Navigation API, you can now show the native spinner + stop button for any asynchronous operation - all you need is a Promise.7.3Γ—332k2.7k333729
3Feb 3, '23lol, $0.30 per API call6.7Γ—307k9832824
4Jun 27, '22me: why the heck is this CSS not being applied?? my keyboard: I ahve no idae man6.7Γ—03.6k37432
5Apr 15, '21Please don't import SVGs as JSX. It's the most expensive form of sprite sheet: costs a minimum of 3x more than other techniques, and hurts both runtime (rendering) performance and 6.3Γ—01.9k335792
6Sep 6, '22Introducing Preact Signals: a reactive state primitive that is fast by default. βœ… feels like using plain values πŸ₯³ automatic updates when values change ⏱ updates DOM directly (fast6.0Γ—02.4k402238
7Feb 6, '19Should I use SSR? What about Rehydration? Where should we implement logic and rendering in our applications? Answers:5.7Γ—01.9k699275
8Dec 15, '17πŸ“£ I have an exciting announcement: I'm joining the Chrome team @Google in the new year! Looking forward to pushing the web...forward! 😊5.0Γ—02.8k1740
9Jan 23, '23I regret using Tailwind for this mastodon client. I had kinda assumed it'd make things like dark mode easier, but so far it has just made initially throwing a view together slightl4.4Γ—199k6222360
10Dec 20, '18HTM 2 is here! πŸŽ‰ ⚑️ 20x faster (seriously) πŸ¦„ Custom JSX parser 🀠 under 700 bytes 🀫 compiles to nothing4.3Γ—01.8k47675
11Nov 20, '18πŸ¦– HTM: JSX without the transpiler. 700 bytes to run in the browser, or compile it away using babel-plugin-htm. (works with any VDOM library!)4.3Γ—01.8k47849
12Oct 2, '19βš›οΈ Preact X is here. The @preactjs team spent over a year rewriting Preact, and it's finally ready.4.3Γ—01.8k50537
13May 17, '18πŸ’β€β™€οΈ Cost of updating text in the DOM ⬛️⬛️⬛️⬛️⬛️⬛️ .innerHTML β¬›οΈβ¬›οΈβ¬›οΈβ¬œοΈβ¬œοΈβ¬œοΈ .textContent β¬›οΈβ¬›οΈβ¬œοΈβ¬œοΈβ¬œοΈβ¬œοΈ .innerText β¬›οΈβ¬œοΈβ¬œοΈβ¬œοΈβ¬œοΈβ¬œοΈ .firstChild.data - Use innerText if you can't assume s4.3Γ—01.7k54780
14Feb 12, '23Has anyone used DaisyUI? It looks decent.4.1Γ—186k80564344
15Dec 2, '20πŸ‘©β€πŸš€ Introducing π—ͺ𝗠π—₯: The tiny all-in-one development tool for modern web apps. Everything you need to build a fast Preact site, from dev to prod. πŸ¦„ TSX, HMR, CSS Modules, etc3.8Γ—01.4k322194
16Dec 10, '20Hey you! Want to see how much faster your site would be with modern JavaScript? βœ… calculates it for you!3.7Γ—01.2k279299
17May 16, '19πŸ’Έ Cost of updating text in the DOM: 2019 Edition ⬛️⬛️⬛️⬛️⬛️⬛️ .innerHTML β¬›οΈβ¬›οΈβž–βž–βž–βž– .textContent β¬›οΈβ¬›οΈβž–βž–βž–βž– .innerText β¬›οΈβž–βž–βž–βž–βž– .firstChild.data - Use .textContent if you can't assume 3.3Γ—01.3k415108
18Oct 3, '19I'm building a compiler that turns crufty JS into lean modern syntax.3.1Γ—01.6k20164
19Oct 12, '17If you use a retina mac, this @Code setting will change your life: { "workbench.fontAliasing": "antialiased" }3.1Γ—01.4k3434
20Apr 17, '20Please don't open issues on JS repos asking why they aren't written in TypeScript :(3.1Γ—01.7k13418
21May 30, '18πŸ“£ Introducing.. prerender-loader! πŸ“° Painless universal pre-rendering for Webpack. ⛹️‍♀️ Improve first paint, often without a code change! ✨3.0Γ—01.2k36363
22Jan 10, '18πŸ“£ Introducing Workerize: Offload modules into Web Workers with a simple prefix! 😍 Statically compiles exports to reflected async functions πŸ˜ƒ ✨2.9Γ—01.2k36812
23Oct 4, '24🧡 So you think you know Barrel Files2.9Γ—130k730117811
24Jul 31, '20It's time to enable modern JavaScript npm libraries. This post by @GaryLChew explains the current state and ways forward. I think the combined solution is compelling.2.9Γ—01.1k261181
25Feb 5, '18Today is my first day at Google! Very exciting πŸ˜€πŸ˜€πŸ˜€2.8Γ—01.8k480
26May 4, '18little-known emoji fact2.7Γ—01.2k3075
27Dec 18, '20Here's a recipe webpage after sitting for 5 minutes: β†™οΈŽ with ads πŸ†š with ads blocked β†˜οΈŽ2.7Γ—01.1k26453
28Jan 23, '18πŸ“£ Announcing... Karmatic! πŸ¦‘ Easy automatic (headless) browser testing πŸ›  No config needed, auto-detects webpack settings πŸ€Ήβ€β™€οΈ Only one dependency to juggle 🏎 Powered by Karma, 2.6Γ—01.1k3434
29Sep 20, '18Woah, @Github is now responsive...2.6Γ—01.3k1989
30Jul 11, '20SHIFT + ESC marks all Slack messages as read. have a good weekend2.6Γ—01.2k20136
31Oct 13, '20this is a thing you can for some reason do in Keynote2.6Γ—01.4k11942
32Jul 18, '22New state model for VDOM dramatically simplifies your code, and is also kinda performance magic. Left: standard component rendering Right: same code with optimization enabled (no c2.6Γ—01.1k160126
33Aug 24, '18πŸ“¦ Size Plugin for Webpack! πŸ•΅οΈβ€β™€οΈ Keep an eye on those bundle sizes... πŸ‹οΈβ€β™‚οΈ Shows compressed sizes #️⃣ Compares even if file hashes change > npm i -D size-plugin2.5Γ—01.1k25858
34Apr 16, '20Redaxios: axios for the browser, 800b and uses fetch2.5Γ—01.1k20989
35Feb 22, '17πŸŽ‰ It's here! A 500 byte fetch() polyfill. Supports headers, json/text/xml/blob bodies, etc. Five. hundo. bytes. 🌯2.5Γ—09753471
36Sep 10, '22gets me every time2.4Γ—01.3k17830
37Feb 11, '20There's an official Github CLI?2.4Γ—01.2k20538
38Jun 7, '22random CSS-only menu I made last night2.4Γ—091795273
39Nov 12, '19Houssein just announced something I've been working on for a little while: @babel/preset-modules! A Babel preset that enables native async/await, Tagged Templates, arrow functions,2.3Γ—089826466
40Jul 23, '20Redaxios is an ~800b Axios stand-in built on Fetch. 0.3 just added support for the baseURL, responseType, params, paramsSerializer and withCredentials options, plus fetch mocking a2.2Γ—093619175
41Sep 2, '22docs are hard, often harder than code2.2Γ—01.1k10827
42Jan 17, '22Last week, Preact hit 1 million weekly downloads. The little library I built in 2015 as a learning exercise is now found on ~4% of websites, including some of the most visited webs2.1Γ—01.2k5833
43May 28, '20Lighthouse CI is ridiculously awesome2.1Γ—095414882
44Apr 7, '22Tomorrow is my last day at Google. πŸ™€ It's been an amazing experience, marked by a wonderful group of friends who I'll miss (virtually) hanging out with. The next chapter in this a2.0Γ—01.2k1620
45Aug 19, '17I spent a few weeks building a Preact compiler. IN: Polymer, Vue & Preact single-file components OUT: highly optimized Preact components2.0Γ—08632248
46Dec 10, '20the code we write 𝑽𝑺 the code we ship2.0Γ—079917888
47Apr 17, '20Introducing web-worker: Native universal Web Workers 1️⃣ one import for web + Node 🧰 the same Web Worker API everywhere 🏎 uses worker_threads and native ESM πŸ•Έ zero-cost in the b2.0Γ—081118485
48Mar 26, '21GitHub now shows a Table of Contents for readmes1.9Γ—098614119
49Mar 16, '20woah GitHub bought npm..1.9Γ—06742599
50Nov 25, '19I finally got around to testing out VSCode Online today. Here it is running as a Desktop PWA. To me, this is basically indistinguishable from local VSCode, except the Mac's fans ar1.9Γ—097012339
51Jan 22, '20HTM's preact integration now includes hooks. 4.6kb for VDOM + JSX + hooks with no build step is good value-for-money, IMO.1.9Γ—090512362
52Dec 20, '17Both Edge and Safari have Service Workers on by default in their respective next versions. Today is pretty great.1.9Γ—07602660
53Mar 4, '18#hottip: Make your layout fast & static by default. Turn on content-based sizing on a per-element basis.1.8Γ—082916245
54Feb 11, '19πŸ—Constructable Stylesheets are here!πŸ‘·β€β™€οΈ TL;DR: Seamless reusable styles for components and elements. Shadow DOM. πŸ‘ load stylesheets asynchronously 🎁 apply them to shadow roots1.8Γ—065821649
55Jun 6, '21Quick Tip: reusable Array search predicates via `this`:1.7Γ—073075152
56Jan 7, '21All JS bundlers + runtimes now support Package Exports. As you add the "exports" field to your npm module, please remember: modules referenced via "exports" can include modern synt1.7Γ—0685138110
57Sep 29, '20πŸ¦„ SSR for web components! πŸ¦„ Declarative Shadow DOM is a proposed web platform feature that brings Shadow DOM to HTML. Try it in Chrome (experimental flag) or via a polyfill: πŸ‘€1.7Γ—061820362
58Feb 28, '20🧐 Hey! Wondering what Rome is? I tried it out. Here's what you need to know:1.7Γ—068418059
59Nov 19, '18⚠️ You probably don't want .innerText Why? It triggers layout! πŸ¦‘ This happens because the string contains newlines corresponding to blocks, and hidden content is omitted. πŸ’β€β™€οΈ So1.7Γ—071117440
60May 19, '17The web is getting async image decoding! #IO171.7Γ—06162370
61Sep 3, '21I'm officially on the "location-based pay is bad" train now1.6Γ—09353432
62Feb 25, '20My reverse transpiler can now undo destructuring. Here it is reducing bundle size by 36%:1.6Γ—08317046
63May 7, '18πŸ“£ Introducing Histore! [πŸ—£ hisΒ·toΒ·ry] A 200b key-value store, persisted to navigation state. Supports complex objects, too! 🍰1.6Γ—069116729
64Jan 26, '18🦎 Greenlet: Move an async function into its own thread. (A simplified single-function version of workerize)1.6Γ—06581951
65Jul 19, '18Want to import JS Modules from npm on @CodePen? Check out this handy tip:1.6Γ—063118129
66Sep 18, '18πŸ“£ Introducing worker-plugin for Webpack! 🐳 Automatically compile and bundle Workers. πŸ§™β€β™‚οΈ No special syntax, no config. πŸ‘€ worker = new Worker('./foo', { type: 'module' })1.5Γ—065917328
67Dec 6, '17πŸ“£ I'm excited to announce a new lib: unistore. A 700-byte centralized state implementation for Preact. Featuring: πŸ”Œ built-in data selectors πŸƒ pure component-bound actions ⏱ simp1.5Γ—06811641
68Dec 12, '17Just released Microbundle: zero-configuration bundling for tiny modules.1.5Γ—05931852
69May 5, '19I keep writing this useMount() hook. It's easier to scan for in code than useEffect. Basically my brain can't remember this: useEffect(fn) // run after each render useEffect(fn, []1.5Γ—066610264
70Aug 30, '20Wife mentioned the Ikea website seemed faster, so I checked and it looks like they are using Preact now πŸ₯³1.5Γ—08484124
71Aug 10, '2220Γ— faster rendering is good, right?1.5Γ—07434970
72Jul 6, '21I have been working on an experimental ground-up rewrite of Preact's renderer. It now renders TodoMVC faster than hand-written vanilla JS. It's somewhere between 1.5x and 3x faster1.4Γ—07226549
73Dec 2, '16πŸŽ‰ Preact 7 is officially out of beta! πŸŽ‰ πŸš„ 10x faster initial render πŸ”₯ 2x faster unmount πŸ› Key bugs squashed1.4Γ—05412060
74May 21, '20What if you could have a full dev setup + server in a single 150kb JS module? What if that setup included ~instant Hot Module Replacement, JSX support, sourcemaps & friendly er1.4Γ—06328269
75Mar 9, '21HOT NEW SPA ROUTER FOR 20211.4Γ—06664494
76Jul 9, '19Wouter looks neat. 1kB, similar API to react-router but with hooks, works with both react and preact.1.4Γ—061312042
77Feb 18, '20Library authors: if you care about its size, take 30 seconds and install this Github action to run on PRs:1.4Γ—056110778
78Feb 25, '19HTM 2.1 is out: πŸ§™β€β™‚οΈ@jviide rewrote it, twice. it's faster. it's smaller. it doesn't violate CSP. 🐣there's a new htm/mini version: <400 bytes πŸ—œyou can now compile JSX to HTM.1.4Γ—055414434
79Feb 27, '20Today I failed to build a tweet-sized Virtual DOM library. *But* I did create this 480-byte one:1.3Γ—05918964
80Jul 10, '18Does anyone else feel intense guilt if they attempt to relax?1.3Γ—0617823
81Sep 10, '20I feel so bad for anyone who bought a 2016-2019 MBP. Least reliable computer I've ever used.1.3Γ—06103013
82Dec 10, '20πŸ“£ It's now possible to publish modern JavaScript to npm and use it in projects without breaking older browsers. See how:1.3Γ—050210675
83Jun 27, '21I just encountered a 27mb JS bundle1.3Γ—06791712
84Sep 6, '22Just so it doesn't get buried: we built Signals for Preact, but it works in React too - even the fancy granular text updates! Just import the @preact/signals-react package.1.2Γ—05275854
85Mar 9, '21How to drop IE11 support while keeping your site accessible (including from IE): 1. Build your site to work properly without JavaScript. 2. Load JS via <script type=module>, 1.2Γ—048610155
86Sep 6, '22who told you class components were dead?1.2Γ—05853445
87Jan 16, '20My reverse compiler project now recognizes and removes unnecessary polyfills. (and ponyfills!) (not shown: cascades and can even remove the wrapper function)1.2Γ—06055734
88Dec 22, '20npm now shows packages that have TS definitions1.2Γ—0641733
89Mar 15, '19I've been asked for a copy of my degree 4 times this week. I don't have one. Awkward.1.2Γ—06443611
90May 25, '2195% of the frontend code we write would be best expressed in a minimal template language.1.1Γ—05642628
91Sep 11, '18Nooo one ships like Gaston JavaScripts like Gaston Pushes bugs to production then splits like Gaston1.1Γ—05381012
92Mar 13, '20If you use CSS Modules, trust me: you want this:1.1Γ—04877264
93May 18, '18Introducing... CSS Paint Polyfill! πŸ§™β€β™‚οΈ Use Paint Worklets in most browsers 😍 + excellent performance in a bunch of browsers.1.1Γ—046311323
94Sep 6, '17stateMachineComponent(reducer, view) πŸ”¬ tiny πŸ„ pure functions πŸ’« kinda reduxey πŸ”₯ no binding! onClick={action(type)}1.1Γ—04701170
95Mar 29, '21The M1 Air should come with a keyboard heater. My hands are cold because the machine never gets warm1.0Γ—0610134
96May 9, '18πŸ”₯ The Google I/O site is built with Preact! βš›οΈ1.0Γ—0529671
97Sep 17, '22the amount of time I have to spend screwing up my already-working code to make TypeScript happy1.0Γ—05412312
98Jan 27, '20Looks like Frontend Engineer is the #1 ranked job in the US for satisfaction.1.0Γ—0524465
99May 15, '20TIL: the Deno website is built with Preact ()0.9Γ—05054112
100Jan 29, '20tfw you find out someone already built a great version of the side project you'd been slowly hacking on0.8Γ—0470185

Scan another creator

@

Run this on any account.

XOutlier builds this table for every public profile you open on x.com, with live data and every post, not just the top 50.