Next.js Discord

Discord Forum

reading '_pendingVisibility' | What does this error mean?

Answered
Harlequin Duck posted this in #help-forum
Open in Discord
Harlequin DuckOP
I don't really have any code i can show right now. But it happens a lot to me when working with <Suspense>

I don't understand what this error means, what went wrong or what i did wrong.

Any Ideas?
Answered by Harlequin Duck
Found it.
Apparently <Suspense> needs a valid dom element as child, so not every ReactNode is valid. Like <React.Fragment>
View full answer

1 Reply

Harlequin DuckOP
Found it.
Apparently <Suspense> needs a valid dom element as child, so not every ReactNode is valid. Like <React.Fragment>
Answer