SEK 9 to unlock

You can't console.log in React

Watch whenever you want, however many times you want
All ages • Teknologi • 180 min • a year ago

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!

No comments
(Unlock video to read comments)