#no it shall also be server component
1 messages · Page 1 of 1 (latest)
to show hide them and set the message according to api error response
you using npm react-hot-toast?
no simple component i made to floating toast message
according to error response of api
the server don't know any state. Only if you add like query params or dynamic routes. Both isn't that useful for your case. You can create the toast as component, throw the error from your server component and load the toast in your error component. You get the error inside the error component
