To follow the best practices here. Right now some server side NextJS methods are being called from the client, and there is some separation but it can be done better.
there is actually no need to do this. you just cannot have server side components nested in in client side components. doesnt mean you cant call a server side function.
https://nextjs.org/docs/app/building-your-application/data-fetching
To follow the best practices here. Right now some server side NextJS methods are being called from the client, and there is some separation but it can be done better.