console.log not working
Unanswered
Filipino Venus posted this in #help-forum
Filipino VenusOP
Hello, I use nextjs 13.4.13 but console.log('test') not working in page.js.
Maybe should I active something ?
Thank you
Maybe should I active something ?
Thank you
6 Replies
@Filipino Venus Hello, I use nextjs 13.4.13 but console.log('test') not working in page.js.
Maybe should I active something ?
Thank you
Dwarf Crocodile
can we get a code of "page.js"?
Filipino VenusOP
yeah its a default page 🙂 juste add console.log('test') :
Dwarf Crocodile
Its not working because, you can't render your console.log.
btw, you can just useEffect of react library. or just write "use client" of top your code.
btw, you can just useEffect of react library. or just write "use client" of top your code.
Filipino VenusOP
oh oh ok, before not problem for console.log in version 12 😢
Dwarf Crocodile
yes, please read docs for "use client" thing.
Filipino VenusOP
ok I go thank u