Changelog
8.1.0 (19 November 2017)
createFactory
to create element or renderer factories.Children.find
and Children.filter
to the top-level Children
API.import(...)
.The createFactory
API can be used to create element factories and additionally provides an interface to create client renderers that can target different platforms/targets.
The Children.find
API works like the Array.find
API in that it allows you find a single element from the opaque children data-structure.
The Children.filter
API works like the Array.filter
API in that it allows you filter elements from the opaque children data-structure.
The reconciler has gone through some improvments that aim to insure the shorterst path is taken to reach a reconciled state.
This release includes improvements to the way(syntax sugar) you can dynamically import components.
// A.js
export default class {
render() {}
}
// Before
class {
render() {
return import('./A.js').then(A => A.default)
}
}
// After
class {
render() {
return import('./A.js')
}
}