FormidableLabs / redux-little-router

A tiny router for Redux that lets the URL do the talking.
MIT License
1.04k stars 114 forks source link

Is "push" router api working? #161

Closed Wolfhergang closed 7 years ago

Wolfhergang commented 7 years ago

I have a simple routing in a small app im developing, Link components work right but i can't make push routing work, are there any special conditions that im not aware of?

im just importing the push generator in a component and straight using it on a function

import { push } from 'redux-little-router'

...

myFunction () {
    // Do something
    push('/another_place')
} 
Wolfhergang commented 7 years ago

Omg.... its an action creator, lets pretend i never asked this jaja, tought it was a direct api to the router reducer

tptee commented 7 years ago

No worries 😜