Answer the question
In order to leave comments, you need to log in
Is it possible to hide/unload a React component in Meteor under certain conditions?
I use: meteor, react, accounts-password, kadira:flow-router-ssr, kadira:react-layout.
There are routes and React components, of course, all this stuff is loaded in the body of the page.
The router looks something like this:
FlowRouter.route('/admin-login', {
action: function () {
ReactLayout.render(AdminLogin);
}
});
FlowRouter.route('/admin-panel', {
action: function () {
ReactLayout.render(AdminPanel);
}
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question