DEV Community

loading...

Discussion on: Introduction to Next.js - fetching data from API

Collapse
francisrod01 profile image
Francis Rodrigues

It will be better with a real fetch example instead of a json-server one.
But in my case, I think the implementation of ctx.renderPage is breaking the pages/api rendering.

Forem Open with the Forem app