I use a mantra architecture for my application.
For verify user's email I have a route (FlowRouter) to handle this url.
When Meteor validate the mail, I want to redirect to the home page of my website and show an Alert message (with https://github.com/juliancwirko/react-s-alert).
So for this I use the LocalState (ReactiveDict) to put this information.
In the container of the home page, I put an Alert :
Hi,
I use a mantra architecture for my application. For verify user's email I have a route (FlowRouter) to handle this url. When Meteor validate the mail, I want to redirect to the home page of my website and show an Alert message (with https://github.com/juliancwirko/react-s-alert).
So for this I use the LocalState (ReactiveDict) to put this information.
In the container of the home page, I put an Alert :
And when I go to this container (FlowRouter.go('/')), the page is loaded but no message was rendered.
But, if I reload the page (so without a redirection in the code) the Alert is showing.
So I don't know with Alert show on direct page loading but not when I redirect with flowrouter.
Thanks.