[React 19] Can we get top-level funciton imports without being prefixed with use
to be more semantic?
#29048
Labels
Status: Unconfirmed
A potential issue that we haven't yet confirmed as a bug
By convention, everyone creates hooks named
useX
. Then we call it to get some stuff. That stuff can include other functions:Can we get closer to this code in React 19?
That
const { getCurrentTenant } = useTenant();
is boilerplate.P.S. Because I could not find a place to discuss features, I had to send this issue here.
The text was updated successfully, but these errors were encountered: