Live data from Hacker News

Next.js 13.4

nextjs.org

41–42 of 42 posts

Re: Next.js 13.4

#41
Is “API first” principle obsolete nowadays? How can Server Actions allow other clients to use the same backend? That was the whole point of SPAs, mobile clients communicating only over REST/GraphQL so that you can add more clients/automation/consumers later. To do that properly, the endpoint needs to be secured and documented (Swagger or GraphiQL with autogeneration of client libraries in most languages).

Re: Next.js 13.4

#42
post #32

Earlier quoted context omitted.

Are you using server side rendering? If so, did you end up writing a custom server, or are you monitoring your website some other way? My team is developing a server-rendered nextjs app which is deployed on AWS. We haven't really configured it beyond the defaults, but nextjs seems to provide very little visibility into what's happening (e.g., no request logs). If you could share any tips or lessons learned from opera…

Have you considered NextJS middleware to decorate with request logging? https://nextjs.org/docs/pages/building-your-application/rout...

Thanks, that is helpful. The OpenTelemetry integration seems like it will provide the most useful insights.
Post reply on HN