#Simulate slow network connections / loading screens

8 messages · Page 1 of 1 (latest)

candid ingot
#

I want to look at how my loading.tsx is working, but my pages are all loading very fast. How can I arbitrarily slow down some parts of the page so I can see the loading screen in action?

small voidBOT
#

🔎 This post has been indexed in our web forum and will be seen by search engines so other users can find it outside Discord

🕵️ Your user profile is private by default and won't be visible to users outside Discord, if you want to be visible in the web forum you can add the "Public Profile" role in id:customize

✅ You can mark a message as the answer for your post with Right click -> Apps -> Mark Solution
(if you don't see the option, try refreshing Discord with Ctrl + R)

lavish locust
#

You have three different options:

  1. Own Delay: via
await new Promise(resolve, setTimeout(resolve, 5*1000)) // 5 seconds delay
  1. You can also trigger the suspsense boundary through dev tools
  2. You can also slow down the loading of the page though dev tools
    @candid ingot
lavish locust
#

@candid ingot solved?

small voidBOT
#
✅ Success!

This question has been marked as answered! If you have any other questions, feel free to create another post

Jump to answer
candid ingot
lavish locust
#

happy to help

regal silo