stackblitz / core

Online IDE powered by Visual Studio Code ⚡️
https://stackblitz.com
MIT License
10.18k stars 885 forks source link

when ever I try to reload the page it lags all of the time some time it shows the page some time it's completely blank. For this reason it is very difficult to work in this platform #3008

Closed SomsubhroChakraborty closed 3 months ago

SomsubhroChakraborty commented 3 months ago

Description of Bug

when ever I try to reload the page it lags all of the time some time it shows the page some time it's completely blank. For this reason it is very difficult to work in this platform

Steps to Reproduce

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected Behavior

shows the webpage updated with the changes I have done on it

Screenshots/Screencast

If applicable, add screenshots to help explain your problem.

Additional Context/Questions Add any other context or questions regarding this bug.

fvsch commented 3 months ago

Hi @SomsubhroChakraborty,

What page are you referring to?

SomsubhroChakraborty commented 3 months ago

https://stackblitz.com/edit/vitejs-vite-lnhouh?file=src%2FComponents%2FNavbar.jsx This one

Nemikolh commented 3 months ago

Hey @SomsubhroChakraborty! :wave:

Your component Contact.jsx has no default export. It's seems to be an empty file. The blank page is caused by react because you don't have an error boundary. See https://react.dev/reference/react/Component#catching-rendering-errors-with-an-error-boundary.