6 ms·
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 im
by wayneftw 7y ago
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...