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,177
  • 2
  • 14
  • 33
  • 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 });
Hemerson Carlin
  • 7,354
  • 1
  • 27
  • 38