Gui Prá
Gui Prá
`d.map` currently compares array values, which are typically JavaScript objects, using regular identity comparisons. Optionally allowing object values containing "key" props to be compared by key instead would allow the...
This is as simple as replacing the current "reconciliation algorithm" with a bruteforce one that, whenever a sort is detected (i.e. the detected changes are not only simple additions/removals at...
Store `boundNodes` as weak refs from `d.el`. This could dramatically improve performance as `MutationObserver` tree walks are probably slower than going straight for the `boundNodes` as `document.contains` seems much cheaper...
`Binding.specialUpdateFnsByKey` was a nice first step towards modular handling of special props like `class/style/value`, but `d.el` still contains hardcoded handling for those. A logical next step would be to separate...
* Babelatrix: Automatically add SVG tag namespaces. * Attributes vs properties. * `setting getter-only property "viewBox"`
* http://blog.millermedeiros.com/promise-nexttick/ * https://github.com/kriskowal/asap
Also export `d.promoteBindings` and promote deep prop bindings to getter/setter properties. Consider replacing `d.binding` with `d.ref` altogether (bindings would still be used internally, but would be created by Dominant from...
My preliminary tests have suggested peformance comparable to React v16.x (keyed), although Dominant is a non-keyed library (array items are implicitly keyed by their values, which are usually objects), but...