Claudia Meadows
Claudia Meadows
[In the documentation](https://mithril.js.org/hyperscript.html#css-selectors), it briefly goes over the CSS selector sugar. However, it doesn't document precisely *how* it gets desugared: - `m("tag[attr]")` → `m("tag", {attr: true})` - `m("tag[attr=]")` → `m("tag",...
### Description - Update Mithril's IR with the updated DOM references when a custom element is defined. (Difficult) - Add an `onelementdefined` hook called after the element is defined. (Easy)...
Currently, we use [a relatively unusual signature mechanism](https://mithril.js.org/archive/v2.0.0-rc.4/signatures.html) to document how our functions are called. It's nice and concise for [a](https://mithril.js.org/archive/v2.0.0-rc.4/render.html#signature) [few](https://mithril.js.org/archive/v2.0.0-rc.4/buildQueryString.html#signature) [simple](https://mithril.js.org/archive/v2.0.0-rc.4/parseQueryString.html#signature) [cases](https://mithril.js.org/archive/v2.0.0-rc.4/trust.html#signature), but it has a habit of...
I just ran some numbers, and found a couple insightful things: - Mithril's core bundle from v1, min+gzip: 8276 bytes - Mithril's stream bundle from v1, min+gzip: 1076 bytes -...
We need to start testing our code in real browsers and in ES5 environments to avoid issues like [this](https://github.com/MithrilJS/mithril.js/commit/f30cf0afaac7aa39072268bc26d104a2ce95632f), reported [on Gitter](https://gitter.im/mithriljs/mithril.js?at=5c403a9683189945240259db). It'd also make it much easier to detect...
Documentation for previous versions have been available under `https://mithril.js.org/archive/vX.X.X` [since basically day 1](https://github.com/MithrilJS/mithril.js/tree/70b24895394b314da45e3a4d27ee24fa90a3fd2c/archive/v0.1). These should all be selectable from the most recent https://mithril.js.org version, so it's easier to point people...
## Expected Behavior ```js const s = Stream() const c = stream.map(a => a) s.end.map(() => console.log('parent ended')) c.end.map(() => console.log('child ended')) stream.end(true) // logs "parent ended" and "child ended"...
**Edit:** [Not suggesting adding a FAQ page anymore](https://gitter.im/mithriljs/mithril.js/archives/2018/08/28), so I recast the issue. I've preserved the previous text in case you're curious what it was previously. Old proposal I'm collecting...
My proposal here is that we should see if we can create an alternate renderer that supports pluggable renderers, rather than just rendering to the DOM directly. There's a few...
I'm reading https://github.com/WebAssembly/binaryen/wiki/binaryen.js-API and I noticed literally none of the SIMD types available (available in the latest version on npm) are documented. Could this be resolved so I'm not just...