Hacker Timesnew | past | comments | ask | show | jobs | submitlogin

API routes is what they refer to with the Next.js BFF approach: https://nextjs.org/docs/api-routes/introduction

It’s useful if you need to call an API from the client in a Next.js application but modify the data first, or call multiple endpoints without introducing a waterfall to the client. What you described can be used in a similar way for filtering and processing etc, but only for the initial page load.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: