* Sets the focused route of the navigation state by key.
(state, key)
| 92 | * Sets the focused route of the navigation state by key. |
| 93 | */ |
| 94 | jumpTo(state, key) { |
| 95 | const index = StateUtils.indexOf(state, key); |
| 96 | invariant(index !== -1, 'attempt to jump to unknown key "%s"', key); |
| 97 | return StateUtils.jumpToIndex(state, index); |
| 98 | }, |
| 99 | |
| 100 | /** |
| 101 | * Sets the focused route to the previous route. |
nothing calls this directly
no test coverage detected
searching dependent graphs…