Skip to content

[help] animating to a new route/view #837

Open
@cuzzo

Description

@cuzzo

Hey @erikras,

First of all, this example is awesome! So much so that it's made me greedy to get even more out of it [=

I've been trying to figure out where the in source I would add functionality so that when a user changes the route (clicks a link), the page animates to the next screen, while the API request happens in the background.

The tricky part for me is that I don't want the page to re-render until BOTH the API request is returned and the animation has finished.

The abstraction for fetching data and doing something on success or failure is pretty nice, but I'm having trouble jamming a blocking animation into the mix.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions