Skip to content

jsx-no-leaked-render: Don't report errors on empty strings if React >= v18 #3479

Closed

Description

As mentioned and discussed here: #3203 (comment)

Modify the jsx-no-leaked-render rule to not report errors on empty strings if React is detected to be above or equal to v18, because React Native no longer throws on empty strings

Related docs PR: #3468

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions