releases.shpreview
Tailwind CSS/Headless UI/@headlessui/react@v1.2.0

@headlessui/react@v1.2.0

$npx -y @buildinternet/releases show rel_d-Oa5eVh1iycDFPTSe4Rb

Added

  • Introduce Open/Closed state, to simplify component communication (#466)

Fixes

  • Improve SSR for Dialog (#477)
  • Delay focus trap initialization (#477)
  • Improve incorrect behaviour for nesting Dialog components (#560)

The Open/Closed state unlocks a feature where all our components can interact with each other. This means that you don't need to use the render prop function, and that you also don't need the static prop anymore for transitions. Here is an example in the docs that explains this: https://headlessui.dev/react/menu#transitions

Fetched March 30, 2026