hello-react-meteor
hello-react-meteor copied to clipboard
FlowRouter.getRouteName() does not work on server
As I understood, FlowRouter.getRouteName() is Client only. Is there a counterpart that works both on server and client?
I'd like to change link classes depending on current route, so the current is active.
Yes we'll have it once we have the proper SSR solution. All our client side API will be available there.
On Sun, Jul 12, 2015 at 11:50 PM Alex Alexeev [email protected] wrote:
As I understood, FlowRouter.getRouteName() is Client only. Is there a counterpart that works both on server and client?
I'd like to change link classes depending on current route.
— Reply to this email directly or view it on GitHub https://github.com/arunoda/hello-react-meteor/issues/2.
cool, thanks