effect-ui-vite

ronanyeah

A strict Effect UI and Vite starter template demonstrated through a localStorage todo app with cross-tab sync.

TypeScriptCreated

What is ronanyeah/effect-ui-vite?

effect-ui-vite is a TypeScript starter template pairing @effect/ui with Vite and configuring strict compile-time and lint rules modeled after Elm. It demonstrates these constraints through a todo web application stored in localStorage with cross-tab synchronization, asynchronous Web Crypto SHA-256 fingerprinting, and clipboard copy.

The configuration extends @tsconfig/strictest with verbatimModuleSyntax and enforces oxlint bans on any, type assertions, non-null assertions, and suppression comments. Tailwind CSS classes are checked with eslint-plugin-better-tailwindcss, while all state updates run through exhaustive message handlers with no catch-all branches.

Data models use plain Schema definitions decoded at storage and cross-tab event boundaries. Application init, update, view, and head functions remain pure, isolating side effects inside Effect layers, services, subscriptions, and the mount entry point. Developers can run live typechecking, linting, type checks, and production builds using pnpm scripts.

Before you startThe README says

Runs on
In the browser
Needs
Node.js and pnpm
How you get it
Clone the repository and run pnpm build or pnpm watch

Facts from GitHub (updated Dec 1, 2026) and the project's README. License summaries are simplified: check the license file. RepoRanking reviews listings for relevance and spam, and doesn't test or vouch for code.