Re:React Concurrent Mode
by danabramov on Friday October 25, 2019 @02:30AM
(#21352452)
Yeah that’s kind of unfortunate. Unintentional. I think one of us will have to rename.
[ Parent
| on HN ]
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...