coed icon indicating copy to clipboard operation
coed copied to clipboard

Elm-style library for writing modern frontends

Results 5 coed issues
Sort by recently updated
recently updated
newest added

Issue #3 describes DOM nodes without unique `id` attributes getting incorrectly combined during patching, particularly when removing middle items from lists. This manifests as wrong nodes being removed or content...

Converts all 10 examples in the examples folder into automated Playwright tests, replacing Parcel with `@eeue56/gweld` as the server. ## Changes - **Replaced Parcel with gweld**: Updated all example `package.json`...

- Make every example in the examples folder a test via Playwright - Ensure each example uses `@eeue56/gweld` as the server rather than parcel or other tools

``` import { Attribute, Event, HtmlNode, nodeNS, Tag } from "@eeue56/coed"; const SVG_NAMESPACE = "http://www.w3.org/2000/svg"; export function svgText( events: Event[], attributes: Attribute[], children: HtmlNode[] ): HtmlNode { return nodeNS("text" as...

Incorrect: Correct: Code when incorrect: ```typescript function renderInteractiveFilterQuery( query: Query, index: number, state: AppState ): HtmlNode { const path: QueryPath[] = []; const days = runQuery(query, state.journalEntries).length; return div( [],...