Skip to content

Conversation

@frenzzy
Copy link
Member

@frenzzy frenzzy commented Mar 26, 2017

@coveralls
Copy link

coveralls commented Apr 21, 2017

Coverage Status

Changes Unknown when pulling 6f5d76e on frenzzy:recipes into ** on kriasoft:master**.

@mksarge mksarge mentioned this pull request Jun 6, 2017
@ImanMh
Copy link

ImanMh commented Aug 16, 2017

how can I use "Controlling scroll behavior" that you mentioned above?
My problem is that I want to change browser location path without refreshing (changing the scroll position) but I don't know if its possible.
(I have a list that I has a sidebar for filtering the list.)

import routes from './routes';

function render(location) {
UniversalRouter.resolve(routes, location.pathname).then(route => {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we have this api for now ?
I like this design, for now resolve is an prototype method of class UniversalRouter, and we need to call new UniversalRouter to use resolve

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

4 participants