Skip to content
This repository has been archived by the owner on Jun 30, 2021. It is now read-only.

There are lags on page re-fetching #145

Open
Aichnerc opened this issue Apr 28, 2020 · 0 comments
Open

There are lags on page re-fetching #145

Aichnerc opened this issue Apr 28, 2020 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Aichnerc
Copy link
Member

Describe the bug
When the refetching is called:

this.intel.appendList(sources).then(() => {
  platformData = { ...this.getData(), user };
  this.session.tasks.user
    .cache(JSON.stringify(platformData))
    .then(() => {
      fetchedUser.platformData = platformData;
      this.setState({
        fetchedUser,
      });
    });
});

The page becomes laggy for about 10 seconds. No text can be selected and no actions can be made by the user.

To Reproduce
Steps to reproduce the behavior:

  1. Login
  2. Experience
  3. Drink a bottle of vodka and cry in the corner

Expected behavior
The page should run as smooth as Mr. Proppers baldness.

Screenshots
If applicable, add screenshots to help explain your problem.
image

Desktop (please complete the following information):

  • OS: Windows 10 Professional
  • Browser: Google Chrome
  • Version: 81.0.4044.122
@Aichnerc Aichnerc added the bug Something isn't working label Apr 28, 2020
schettn referenced this issue in snek-at/intel May 6, 2020
More information about these changes can be found here:
Ref: https://github.com/snek-at/front/issues/145
@pinterid pinterid changed the title Page lagging on re-fetching There are lags on page re-fetching. May 18, 2020
@pinterid pinterid changed the title There are lags on page re-fetching. There are lags on page re-fetching May 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants