How to structured top level directory right way in nextjs 15?
Unanswered
Transvaal lion posted this in #help-forum
Transvaal lionOP
In nextjs 15 every component under
app/ are server sided by default. Is it still server sided If I put component directory outside of app/ dir but inside of src/ dir ? Please see the Image.1 Reply
Asian black bear
Yes, the location of a file does not affect whether its considered a server or a client component. Everything is a server component by default unless it's beyond a boundary denoted by the
'use client' directive.