preact v10.3.4 Release Notes

Release Date: 2020-03-11 // about 4 years ago
  • ๐Ÿš€ This is a maintenance release, upgrading should be free, please do report it in case you encounter any issues.

    render-queue sorting

    Preact batches all rendering work and executes from the top of the Virtual DOM tree to the bottom. However, if new rendering tasks were added during an existing render, they were processed without regard for their depth in the tree.

    Thanks to a clever fix from @jviide, Preact's render queue is now immutable. Any new tasks added during rendering are placed into a second batch.

    ๐Ÿ’ป material-ui integration

    ๐Ÿ‘€ A peculiar issue users were seeing with material-ui related to a ref never getting populated, we went very deep into the codebase and found out that our forwardRef was a bit too eager, at creation it would already start forwarding. We moved this to a later point, now just before the vnode will get diffed the ref will be forwarded.

    ๐Ÿ›  Fixes:

    ๐Ÿšง Maintenance: