Error handling using Form component from nextjs
Unanswered
Alligator mississippiensis posted this in #help-forum
Alligator mississippiensisOP
Anyone can help me how i can show error message to user when error happen from server action? I use new Form component from nextjs
what is best way to show error message to user?
what is best way to show error message to user?
2 Replies
@Alligator mississippiensis Anyone can help me how i can show error message to user when error happen from server action? I use new Form component from nextjs
what is best way to show error message to user?
you can catch that error, and use react-hot-toast to toast a message