3

I am firing a method : this.transitionTo('route', {},{search: this.state.search, type: this.state.type});

which passes query params in URL http://...route?search=%param10&type=param2

Is there equivalent method that passes these parameters without printing in URL ??

Piotr Leniartek
  • 1,157
  • 2
  • 14
  • 32
  • Better to check this http://stackoverflow.com/questions/27891667/react-js-pass-parameters-with-router-not-in-url – user2360560 Jul 29 '15 at 03:55

1 Answers1

6

Try this:

this.transitionTo("route", { search: this.state.search, type: this.state.type });
mersocarlin
  • 7,214
  • 1
  • 25
  • 38