preact v10.0.0-rc.2 Release Notes

Release Date: 2019-09-09 // over 4 years ago
  • _ tl;dr: This release contains a lot of bug fixes in many areas and we encourage everyone to upgrade. We're confident that this is the last rc release before marking X as stable._

    ๐Ÿš€ It's time for another Preact release ๐ŸŽ‰ We've spent the past weeks on make
    ๐Ÿ›  Preact as robust as we can. Most fixes are ones you all submitted to our
    tracker. This is super awesome and we wouldn't be where we are without all your
    help!

    ๐Ÿ›  On top of countless fixes, a few minor features found their way into the
    ๐Ÿ“ฆ package like isValidElement that can be used to check if something is valid to
    render, meaning it's a valid child that was created by h/createElement.

    โœ… The test utils also received much love and we're very impressed with how quickly
    ๐Ÿ‘ @robertknight was able to land support for async callbacks and nested calls
    ๐Ÿฑ to act ๐Ÿ’ฏ This is useful in cases where triggering an effect or state change
    involves async steps, such as waiting for a fetch call to resolve.

    Preact Devtools are coming

    We think it'd be good to give a setSate of the union here about where we are
    with the devtools. As many of you are aware we've always depended on the
    react-devtools extension for a long time now. We were very excited to
    โ†” integrate with version 4, not just because of the new featureset, but also
    ๐Ÿ‘ because the adapter and protocol is so much better than before.

    We got very far, but despite of all our efforts we ran into blocker issues with
    the expected order of events that need to be sent to the extension. Our
    internals differ quite a bit and after trying for weeks to get it right we
    ultimately went back to the drawing board.

    It became clear that just writing our own extension would be less resource
    intensive and would make it easier for us to maintain. It's pre-alpha right now,
    but we expect to mature in the coming weeks/month. Here is a screenshot as a
    little sneak peek:

    preact-devtools-preview-public

    Very early pre-alpha preview of preact-devtools

    ๐Ÿš€ We'll keep you posted! Here is the full list of changes in this release:

    ๐Ÿ”‹ Features

    ๐Ÿ› Bug Fixes

    Typings

    ๐Ÿšง Maintenance