Skip to content

v0.19.5

Latest

Choose a tag to compare

@tchak tchak released this 15 Jun 21:40

Fixed

  • React updates driven by a morph (fragment re-render, stash/adopt, post-morph
    cleanup) now commit synchronously via flushSync. coldwired triggers these
    from outside React (the morph lifecycle, microtasks, mutation observers); a
    concurrent root would otherwise leave the commit scheduled but pending when
    it lands during react-aria's own concurrent work, so a value typed into a
    react-aria control right after a _morph(document.body, …) would only commit
    after repeated external event-loop turns drained the scheduler. Forcing the
    flush keeps the React tree settled at the end of every morph.