-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
Let say I have to screens in my application. Each screen requires some own data to be loaded before it's displayed – the task async-reactor
is made for.
Now, I'm doing transition from Screen1 to Screen2. What happens then?
- Screen1 is unmounted.
- Reactor is rendered – it renders loader, as initial state is empty.
- Reactor is mounted – user sees a loader.
- Promise is resolved, Reactor is updated, and user sees Screen2.
Thus, user will see how first all content disappeared, then appeared after few milliseconds – even if it is very fast, it is still noticeable for an eye. It blinks, every time I'm going between screens – instead of smooth replacement of one screen with another, as React does with normal sync flow.
I wrote a helper very similar to async-reactor
for our internal needs, and this blinking make me crazy. How do you handle this issue?
Metadata
Metadata
Assignees
Labels
No labels