I have a simple question.
I'm using "app folder" in my Next js 14 project.
In the layout.tsx file (can also be page.tsx) I get data from the server side API and pass it to the child components using props. This gets annoying when there are many nested children components. In addition, I also need to type the data that I pass using props.
Yes, I know, if I make the same request on the server components, Next js does not send a new request, it pulls it from the cache. However, I can't do this because my children components are on the client side. How do you cope in such situations?
Thank you in advance.