You can't console.log in React
Watch whenever you want, however many times you want
All ages • Technology • 3 min

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!

Creator has disabled comments