Next.js Discord

Discord Forum

How can i call a server action without having a form or making a user click on something?

Gharial posted this in #help-forum
Open in Discord
I need to perform a mutation immediately after a redirect to a page and set cookies afterward using the cookies function. I just upgraded to v14

0 Replies