Console.log em JSX
const ConsoleLog = ({ children }) => {
console.log(children);
return false;
};
Vivacious Vicuña
const ConsoleLog = ({ children }) => {
console.log(children);
return false;
};
//I am also facing same issue but do not know why it is not working
//so i used
console.error('lkjsbfksdnjbfjksd');
console.info('dfmvndkvevdfv'); //now it's wroking