Closed nghiepdev closed 6 years ago
You can always put <Alert />
component somewhere in your layout, somewhere outside your app's content component. As close to the root component as possible. This should work.
Thanks for your answer. I understand the problem.
But I'm using Next.js, I cannot put <Alert />
to root component or near the root component.
Hey @nghiepit . Have you managed this issue?
Hi guys,
After user login success, I did the following two things:
react-s-alert
But redirect page has caused
react-s-alert
not working. Because the component has destroyed.Thanks