fetch api
Unanswered
American Sable posted this in #help-forum
American SableOP
how do i fix it?
6 Replies
Brown bear
Are using next13 ØŸ
American SableOP
no bro
@Brown bear Are using next13 ØŸ
American SableOP
should i update it?
@American Sable should i update it?
Brown bear
i never use next before 13 , but i like server action in next 13 and its sames easy to fetch data in next 13 ,
The most important thing when using Next.js is to understand how the team that developed it intended for you to write things like fetching data, etc. This is because Next.js is a framework.
you need to write pages in page.ts
and you need to write api in api/route.ts etc
you need to write pages in page.ts
and you need to write api in api/route.ts etc