Today we are announcing a new hook useId, this hook is meant to create stable unique identifiers that are consistent on both server-side render and client-side hydration. This feature can to enable a11y features for reusable components, ...
To enable the isomorphic unique identifiers you will need Preact-render-to-string 5.2.4 on the server.
(#3583, thanks @JoviDeCroock)