After this update microh will spread children into the provided h
function, instead of just passing the children array.
// this
const h = (tag, props, ...children) => null
// instead of the old way
const h = (tag, props, children) => null
This was done because React expects all vnodes within a nested array to be keyed.
Other changes:
- hyperapp tests were updated from
v1
tov2
- preact tests were updated from
v8
tov10
- expanded tests to cover a few more cases for react/preact/hyperapp