Jason Miller

Jason Miller

@developit.dev

Platform DX at Shopify. Created #Preact. Do more with less. #JavaScript #PreactJS #React #Frontend #DeveloperExperience #OSS #Coffee #Foxes #Drumming #Metalhead

6.1K followers251 following285 posts

Jason Miller reposted

An axios-API-compatible light wrapper over `fetch`, by @developit.dev: github.com/developit/re... Can act as a stopgap replacement while migrating away from axios.

github.comGitHub - developit/redaxios: The Axios API, as an 800 byte Fetch wrapper.The Axios API, as an 800 byte Fetch wrapper. Contribute to developit/redaxios development by creating an account on GitHub.
Socket@socket.dev

🚨 Active supply chain attack on axios@1.14.1. The latest version pulls in plain-crypto-js@4.2.1 -- a brand-new package that didn't exist before today. We're still investigating. If you use axios, pin your version and audit your lockfile. socket.dev/blog/axios-n...

Jason Miller reposted

What if a signal on the server could just be a signal on the client? Wrote about mixed-signals by @developit.dev - a library that reflects server-side Preact Signals to clients in real-time. No fetch calls, no deserialization, no cache invalidation. Just signals on both sides of the wire.

jovidecroock.comBridging the Server-Client Boundary with SignalsHow mixed-signals turns server-side Preact Signals into real-time shared state across clients, and what that can look like in tech like Cloudflare Durable Objects

Jason Miller reposted

Think prefetch is not enough, but prerender is too risky for your site? Well then check out "prerender until script"—a new option we're testing for the Speculation Rules API now available for you to test on your site with an origin trial! developer.chrome.com/blog/prerend...

developer.chrome.comSpeculation rules prerender until script origin trial  |  Blog  |  Chrome for DevelopersLearn about the new prerender until script option for the Speculation Rules API, now available in origin trial.

Jason Miller reposted

🎉 Preact 11 beta is here! After years of thoughtful development, we're delivering major improvements with minimal breaking changes. Better hydration, forward refs by default, and performance upgrades - all while maintaining the stability you love about Preact X.

Jason Miller reposted

pnpm v10.16.0 adds "minimumReleaseAge", a setting for defining how long a version has to have been published before pnpm will install it. A nice countermeasure against accidental installs of short-lived compromised packages before they get taken down. Not a 100% fix, but a great additional step!

github.comRelease pnpm 10.16 · pnpm/pnpmMinor Changes There have been several incidents recently where popular packages were successfully attacked. To reduce the risk of installing a compromised version, we are introducing a new settin...

Jason Miller reposted

⚓️Oxlint with type-aware linting is here ⚓️ ◆ 40 type-aware rules supported, including the famous `no-floating-promises` rule ◆ Built on top of `tsgolint` and `ts-go` ◆ Brings speed improvement & correctness Read more in the latest announcement voidzero.dev/posts/announ...

voidzero.devAnnouncing Oxlint Type-Aware LintingOxlint with type-aware linting is now available and supports 40 long-awaited rules including no-floating-promises. Oxlint uses tsgolint, which @auvred initially prototyped as typescript-eslint/tsgolin...

Jason Miller reposted

Oxlint is making a huge step forward! Two new updates: JS custom rules, with ESLint compatible API are on the way. The first prototype gives a good speedup already! 🔥 Type-aware rules. Full coverage no-floating-promise through tsgolint, integrated like the other oxlint rules and extremely fast.

Jason Miller reposted

Really nice explanation/walkthrough of Preact with Signals, start around 38 minutes if you know Preact already 🤩 - the end result is also super clean!

Jovi 🐨@jovidecroock.com

Yesterday I was on the @learnwithjason.dev show, despite me not being great at ... speaking... 😅 I really enjoyed the explanations we got to especially the signals part youtu.be/6pBMaaX4jIg?...

Jason Miller reposted

Spent 7 years in the GraphQL ecosystem. Here's what we got wrong: ❌ POST'ing documents as default ❌ Selling "versionless" APIs as realistic ❌ Ignoring HTTP caching entirely ❌ Making it complex for beginners ✅ The tech is solid. The guidance needs work. www.jovidecroock.com/blog/graphql...

jovidecroock.comThe GraphQL Asterisk Problem: When Benefits Come with CaveatsAn exploration of the trade-offs and considerations when using GraphQL and its alternatives.

Jason Miller reposted

Jason Miller reposted

65/144 goes to @drewigg.bsky.social who is a brilliant mind, very cool dude and one of my favorite people in the open source community, he also works on Preact which is one of my favorite tools of all time — thanks for being a studio friend and inspiring me to be better see more at flagpost.org

Jason Miller reposted

It's so nice to see a cross-framework component library and .... built on top of Preact! It's amazing, big props to the team!

Anthony Frehner@frehner.me

Shopify Polaris is now built on web components. My team and I have been working on this for a while and it's been a lot of fun to "embrace the platform"! shopify.dev/beta/next-ge... Lots of things learned, lots of fun edge cases discovered (hello moving web components to iFrames in Firefox)

Jason Miller reposted

At Preact we love real-browser testing, our whole test suite ran in karma for the last few years. Recently we switched over to @vitest.dev and we absolutely love it, we love it so much that we published vitest-browser-preact. It's a library that contains tools to test Preact in vitest browser mode.

Jason Miller reposted

Introducing @preact/signals-utils and @preact/signals-react-utils - a collection of helpers that make working with signals easier! These utilities help you write cleaner, more declarative code while maintaining optimal performance.

Jason Miller reposted

I am working in something *very* wild for Preact, which I believe will be a complete game changer. Actually right now I'm on vacation BUT when I get back I will continue working on this *very* wild thing. 6 year old idea but the last 2 years of Preact features make it infinitely better.

Jason Miller reposted

Let me also take this opportunity with Preact being a hot-topic now that I write about Preact topics on my blog! If you want to know more about the new diffing algorithm, you can look at the source code and read a few of my articles!

Jason Miller reposted

This, we need more kindness around these ‘tribes’. All of us working on these tools put a lot of time and love in it, all of us have our reasons to prefer working with x or y. Let’s be accepting of that!

Ryan@rschristian.dev

One thing I'm really thankful for in the Preact ecosystem is that we don't have a bunch of folks saying things like "why aren't you using Preact?" every. single. time. another framework is mentioned, it adds nothing and only bums everyone out. OSS authors shouldn't have to defend their choices.

Jason Miller reposted

One thing I'm really thankful for in the Preact ecosystem is that we don't have a bunch of folks saying things like "why aren't you using Preact?" every. single. time. another framework is mentioned, it adds nothing and only bums everyone out. OSS authors shouldn't have to defend their choices.

I am working in something *very* wild for Preact, which I believe will be a complete game changer. Actually right now I'm on vacation BUT when I get back I will continue working on this *very* wild thing. 6 year old idea but the last 2 years of Preact features make it infinitely better.

can always tell when a "native" app is built with react native. none of the animations are smooth and they literally never respect the OS accessibility + motion settings. not sure why people use this stuff.

Jason Miller reposted

Jason Miller reposted

COMING SOON: Experimental @vite.dev Environment API support in React Router v7. Check this out — a single `vite build` command can co-ordinate a full client + multi-server build. Previously this was only possible via the `react-router` CLI. We're “just a Vite plugin” again 😎

Jason Miller reposted

Announcing ES Module Shims 2.0. The latest version of what started out as an import maps polyfill now supports production polyfilling of more than 8 existing and upcoming native browser modules features 🧵