erikras / erikras/react-redux-universal-hot-example

[help] animating to a new route/view

Open
#837 3 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
JavaScript
Stars
12.1k
Forks
2.5k
PR merge metrics
No merged PRs in 30d

Description

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!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.