Next.js Discord

Discord Forum

"use client" is blackscreening me and removing all my content. why......

Answered
Australian Freshwater Crocodile posted this in #help-forum
Open in Discord
Australian Freshwater CrocodileOP
no "use client" it works.

i add "use client" and it goes black.

simple hello thats it..........
Answered by Australian Freshwater Crocodile
ty, i nuked the thing, it was literally a blank file thats it, adding the "use client" broke a page saying hello
View full answer

2 Replies

its hard to see the cause without the code , try posting the code block where this happens , then ppl may be able to help you
@cheka its hard to see the cause without the code , try posting the code block where this happens , then ppl may be able to help you
Australian Freshwater CrocodileOP
ty, i nuked the thing, it was literally a blank file thats it, adding the "use client" broke a page saying hello
Answer