Skip to content

Support React 18 identifierPrefix with createRoot/hydrateRoot #152

@JamiesWhiteShirt

Description

@JamiesWhiteShirt

ReactDOM has the identifierPrefix option for createRoot/hydrateRoot which should be used when multiple roots are used on the same page to support the new useId hook. Having multiple roots happens to be particularly likely when using single-spa, so identifierPrefix should be supported and recommended to use with single-spa-react.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions