Hacker News new | ask | show | jobs
by danabramov 2425 days ago
Yeah that’s kind of unfortunate. Unintentional. I think one of us will have to rename.
1 comments

You only have to rename if people import each hook separately.

I prefer to use React.useWhatever(); so I don’t have to keep going to the top of the file and importing new things.

Is my preference wrong? Much of the code that I see online does not use my preference...