coz
What is JSX's hoisting behavior?
My code runs now but I wonder what's going on 🙂
if I place
inside a .jsx that is outside a function, undefined will be printed.
However if I place it inside a function that is called with render the function will be printed. So what is the hoisting behavior under JSX?
10 replies