Skip to content

[React 19] precedence prop is not respected when used on style element #29225

@souporserious

Description

@souporserious

Summary

Setting the precedence prop on a style element with a unique href does not seem to have any affect and the style elements will be ordered based on where they were in the React tree.

CodeSandbox Demo

I expected the style tags to be grouped and ordered based on precedence. This PR shows an example of the output when used with an atomic class name approach.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions