Changelog
7.1.0 (24 July 2017)
Changelog
7.0.4 (21 June 2017)
shouldComponentUpdate
when coming from forceUpdate
.Components
to not require passing props to super()
.DOM
attributes that use the primitve true
value.Changelog
7.0.2 (02 June 2017)
Changelog
7.0.0 (25 May 2017)
Apart from that improvements where mostly internal facing, like improving async return types lifecycles on functional components, new architecture to support pausing and resuming tree updates and more.
// client side
{
render,
createElement,
h,
Component,
version
}
// server side
{
...,
shallow
}
renderToString is supplimented by h(..).toString()
in a server enviroment which means we could just do this ${h(..)}
renderToStream is supplimented by dio.render
which also supports rendering to a writable stream
on the server like the Node.js Response
object and h(..).toStream()
, dio.render
however also handles streaming json responses and will set the correct MIME type if one hasn't been set.