Content pfp
Content
@
0 reply
0 recast
0 reaction

Father Abraham pfp
Father Abraham
@father-abraham
Nextjs question.. How are others verifying FE requests are valid on the server side, or is that just not necessary in nextjs if I’m using actions?
3 replies
0 recast
2 reactions

‍ pfp
@git
if you have a running server separate from your Next.js app you would verify the requests as if they were coming from any source: check payload, maybe use a schema parser like zod/valibot if your entire app is Next.js is a different story
1 reply
0 recast
0 reaction

Jim pfp
Jim
@jjjmy
Power wisdom.
0 reply
0 recast
0 reaction