hello-react-meteor icon indicating copy to clipboard operation
hello-react-meteor copied to clipboard

FlowRouter.getRouteName() does not work on server

Open alexedev opened this issue 10 years ago • 2 comments

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.

alexedev avatar Jul 12 '15 18:07 alexedev

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.

arunoda avatar Jul 12 '15 22:07 arunoda

cool, thanks

alexedev avatar Jul 13 '15 19:07 alexedev