Je Xia

@jex.me

building @esm.sh ...a man is always a prey to his truths...

My first advice to junior contributors is to STOP using vibe coding for PRs. OSS is always about people more than about code. We don't need more code generated by LLM, we need more people who care.

mono-jsx 0.7.0 is out with ton of new features: 💫 View Transition 🪄 `$value` (two-way binding) 🗝️ Session Storage 📜 Route Form ⚡️ Caching

mono-jsx 0.4.0 has been published to NPM. It now supports async components defined by an async generator function. This is useful for streaming rendering of LLM tokens.

Bild

Introducing mono-jsx, a server-side jsx runtime renders `<html>` to a `Response`. 🚀 No build step needed 🦋 Lightweight(8KB gzipped), zero dependencies 🔫 Minimal state runtime 🚨 Full Web API types ⏳ Streaming rendering 🌎 Works in Node.js, Deno, Bun, Cloudflare Workers, etc.

Bild

Managed to get typescript types resolving in a Codemirror editor based on X-Typescript-Types headers from @esm.sh using @val.town's codemirror-ts extension with a bit of help from Claude to glue things together. Gotta love standing on the shoulders of giants.

import { pipe } from 'https://esm.sh/effect';

with tooltip reading:

(alias) function pipe<A>(a: A): A (+19 overloads)
import pipe

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 🧵