Im very lost with the concept of edge and serverless functions. Now i have a folder called actions inside my app folder of next 14. There i have many axios request with the tag "use server" These functions makes request with axios to some api endpoints, get, post, etc. These functions returns response of axios. I call these functions front some component and i capture the respose data and make logic with that. I made serverless functions or something else?
Those are serverless function. Thats how we normally create endpoints in app and page router. Was page router non serverless by default before next js 10?
Im very lost with the concept of edge and serverless functions.
Now i have a folder called actions inside my app folder of next 14. There i have many axios request with the tag "use server"
These functions makes request with axios to some api endpoints, get, post, etc.
These functions returns response of axios.
I call these functions front some component and i capture the respose data and make logic with that.
I made serverless functions or something else?
great video. keep it up!
Those are serverless function. Thats how we normally create endpoints in app and page router. Was page router non serverless by default before next js 10?
Worked for me