Improvements
- Support for infinitely nested
children
! - Massive performance boost for
h()
(the hyperscript/jsx processor/reviver). - Tons of little performance optimizations
- Allow components to not inherit from Component without caring
- Add
aliases.js
andtypings.json
to the NPM package.
Public Changes
- Rename
Component._disableRendering
toComponent._disable
to save a few bytes - Removed undocumented support for
getInitialState()
on classful components.
This has never been part of the API but was left in core in order to support
preact-compat
's use. It is now being moved intopreact-compat
. This allows preact to normalize class components that don't inherit from Component.