Skip to content

Possibly greedy reactCompilerPreset regex #1135

@hilja

Description

@hilja

I don't fully understand what this regex is trying to match?

The \b[A-Z] part matches almost any capital letter. \buse matches for example 'use-credentials'.

Is it meant to match React components and hooks? If so it's a bit greedy. Anyway, thanks for maintaining this package!

Regex101 link: https://regex101.com/r/VTYx5E/1

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions