I finally got around to making a shared lib for "is this a valid React (component|hook) name?" utilities: github.com/JoshuaKGoldb...
This gets reimplemented a lot in dev tooling code, like linter plugins that operate on React things. Hopefully this should save some folks some time! 📛
github.com
GitHub - JoshuaKGoldberg/is-react-name: Checks whether strings match React naming conventions. 📛
Checks whether strings match React naming conventions. 📛 - JoshuaKGoldberg/is-react-name