chongsun2002 / Orbital

0 stars 0 forks source link

Separation of client side methods and server side methods for data fetching in frontend #9

Closed chongsun2002 closed 1 month ago

chongsun2002 commented 1 month ago

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.

chongsun2002 commented 1 month ago

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.