Hoisting in nextJs
Wondering if this can somehow be enabled?
I've seen some React projects that allow this, but I'm not sure how to enable it. (see pic)
3 Replies
hoisting is from javascript and not next itself
Isn’t it easier to just move function call after it’s defined
Also yeah that’s not React Or Next thing, it’s basic Js
I know its JS but I wondered how in the example of the image which is a React project it's enabed