You can't console.log in React

Published: 31 July 2021
on channel: Maksim Ivanov
18,559
413

📘New Course: Build full-stack React Typescript applications https://tsreact.maksimivanov.com/s/ytd

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!


Watch video You can't console.log in React online without registration, duration hours minute second in high quality. This video was added by user Maksim Ivanov 31 July 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 18,55 once and liked it 41 people.