Skip to content

Guides

Task-shaped instructions for working with Hem in a real project.

Updated View as Markdown

These guides assume you already know what you want to do and need the steps to do it. They branch where real projects branch, and they link to reference rather than repeating option tables. If you are still learning the language, start with the tour.

Setting up

Add Hem to a Vite project covers installing the plugin, pointing it at your existing tsconfig, handling JSX, and deciding what to do with the generated siblings.

Check and build from the command line covers CI gating, emitting without Vite, watch mode, formatting checks, and a minimal job you can copy.

Test Hem modules covers hem test, filters and watch mode, pointing the JSX transform elsewhere, and testing against a different Effect transport.

Set up your editor covers the VS Code extension, format on save, quick fixes, and connecting other editors to the language server.

Working in a mixed codebase

Keep other tools off generated files covers formatter, linter, coverage, and watcher configuration so nothing else tries to own Hem’s output.

Enable the Effect extension covers configuring the transport, what the capability probe checks, and what changes in your code once it is on.

Migrate TypeScript to Hem covers reading a readiness report, applying the safe subset, handling refusals, and where the automated path stops and judgment starts.

Navigation

Type to search…

↑↓ navigate↵ selectEsc close