Repository navigation
feat: add Effect UI - #333
Merged
Merged
Conversation
Effect UI (@effect/ui) is the Elm Architecture frontend library for Effect, still experimental and not yet on npm. It covers all 21 snippets. Component slots have no fallback, since a slot is opaque to the child, so the slot fallback snippet uses a stateless view function instead, as the Effect UI docs recommend for wrappers. It sits last in the list, after Ripple: it is the newest framework and the only one not yet on npm. Each snippet compiles with strict and exactOptionalPropertyTypes against Effect-TS/ui main and was rendered in a test DOM.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Mathieu · project thread
What
Adds Effect UI (
@effect/ui), the Elm Architecture frontend library for Effect, with all 21 snippets.content/**/effectUi/: 21 snippets, written from the Effect UI docs (LLMS.md) and source.frameworks.ts: neweffectUientry and family, placed last, after Ripple. The list goes from the most used frameworks to the newest and least adopted ones; Effect UI is the newest (repo created 2026-11-15) and the only one not on npm yet.static/framework/effect-ui.svg: the upstream favicon (dark tile, white mark) with rounded corners, readable on light and dark backgrounds.README.md: progress block, regenerated (100%).No playground link: Effect UI has no online playground yet, so
playgroundURLpoints to its site.Notes on the snippets
initandupdate, so the first snippets are longer than in Svelte or React. That is the framework, not padding.div.Checks
strictandexactOptionalPropertyTypesagainst Effect-TS/ui main, and was mounted in happy-dom with the expected HTML (clicks, inputs, context update, focus, timer). Fetch data was checked on its error path only (no network in the sandbox).pnpm run build,pnpm run check,pnpm run lintand the 51 unit tests pass. E2E not run locally.Merge risk
Faible : contenu et une entrée de config, aucun changement de code du site.