Skip to content

Conversation

DavidZidar
Copy link

Summary

This fixes compatiblity with international functional component names such as ÄndraVärde in the ESLint rule RulesOfHooks.

The problem is a Regex that only allows component names to start with the characters A-Z when in reality characters from other languages should be supported too.

Fixes #31446

How did you test this change?

I added a unit test and verified that the rule failed just like it does in my own projects, then I did my modification and verified that the tests pass.

Copy link

vercel bot commented Nov 8, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-compiler-playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 8, 2024 10:33am

@karisoner
Copy link

Q

Copy link

github-actions bot commented Jun 7, 2025

This pull request has been automatically marked as stale. If this pull request is still relevant, please leave any comment (for example, "bump"), and we'll keep it open. We are sorry that we haven't been able to prioritize reviewing it yet. Your contribution is very much appreciated.

@github-actions github-actions bot added the Resolution: Stale Automatically closed due to inactivity label Jun 7, 2025
@DavidZidar
Copy link
Author

Bump, the issue still isn't solved.

@github-actions github-actions bot removed the Resolution: Stale Automatically closed due to inactivity label Jun 7, 2025
@dawn-classum
Copy link

Bump (I'd really like to see this work get merged)

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: [email protected] only detects english component names

4 participants