question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Loading Assets very slow after update SDK to 31.0.6

See original GitHub issue

Hi,

After i update to SDK 31.0.6, it’s showing me:

Assets are load after the below warnings are completely shown after update sdk version to 31.0.0

Require cycles are allowed, but can result in uninitialized values. Consider refactoring to remove the need for a cycle.

I know that exists another one that is similar to this issue. I had to do a modification on the file require, as @redpandatronicsuk said. Check it out here: https://github.com/expo/expo/issues/2578#issuecomment-435713216

The issue is closed, then i had to open a new issue because my SDK version is more up-to-date than the referenced issue.

Thank you

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:11 (9 by maintainers)

github_iconTop GitHub Comments

3reactions
jordanbbcommented, Jan 24, 2019

I’m running expo v32.0.0 and having the same problem. As @charlesRmajor and others have stated commenting out line 109 in node_modules/metro/src/lib/polyfills/require.js has corrected the issue. I’ve noticed this is only an issue on android and not IOS. In my project we have require cycles in our Redux reducers and actions files. This has caused a ~2 minute delay in our first fetch request to our API while these assets are loaded. The slow loading only appears to happen if we attempt to fetch from a localhost server running on the same machine expo is running on as well.

2reactions
esamelsoncommented, Nov 2, 2019

Hi, we’re closing inactive issues that apply to SDK versions we no longer support. I wasn’t able to reproduce this just now on SDK 35. Please create a new issue with a full repro case if this still happens in any of the currently supported SDK versions. Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Assets loading slowly in development - ruby on rails
I tried moving images from assets/ to public/, but it serves them just as slowly. About 3-4 files a second. This is happening...
Read more >
App Standalone loading too Slowly - Expo SDK - Forums
The problem is that the App is to slow like 1 or 5 minutes to load. But if we turn off the wifi...
Read more >
New update makes website very slow | WordPress.org
I have WP Rocket and have optimized the website alot. I don't know how to fix this loading issue. The page I need...
Read more >
[ISSUE] Asynchronous loading takes enormous amount of ...
I've recently upgrade to Unity 2021.2.7 and noticed exact same issue. Terrible slow addressables / asset bundles load time.
Read more >
Slow loading assets - World of Warcraft Forums
Is there anyone else here that struggles with slow loading assets in the game ... Graphics card is one of the things I...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found