You can't console.log in React

You can't console.log in React

Apparently, if you pass the console.log function to some event handler or other kind of prop in React it won't work. I mean it won't log anything.


Why is it so? Let's find out!