Next.js Discord

Discord Forum

How can I render an async component without multiple renderization

Indian oil sardine posted this in #help-forum
Open in Discord
Indian oil sardineOP
I have two components where I want to render one inside other. The first compontent is PageShow where its located in app/ folder and makes part of the app routing possibilities. The second is an async component called Show where fetches data to show into the screen. My app is fetching data repeatedly to show the data. This bugs my application. How can I fetch data and show to user maintaining the max number of server components?

0 Replies