-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hiding react-error-overlay errors that are shown #5890
Comments
Hey, we use react-overlay to show the errors in your application both from compilation and runtime. What is the behaviour you expect in this case? |
That it won't show the overlay errors. |
So you don't want to preview to update unless you've saved the file? |
No.. I'm embedding Iframe in my website. and when someone Writes down a typo I don't want to show these alerts. |
Is there any option to setup that somehow in a sandbox? |
Alright got it, so you want the sandbox to be in production mode. We don't really support this yet and environment variables aren't supported either, there's an open feature request for this: #5861 Supporting env variables is pretty high on my priority list This is mainly due to codesandbox and sandpack being focused on development, which doesn't really have a need for hiding development tools and errors |
Ok thanks a lot |
Any update on that? (: @DeMoorJasper |
No, haven't really gotten a chance to look into this yet. Backlog for sandpack is pretty big and we prioritise things that impact the main experience like performance, stability and some missing features like proper ESModule support. Really wish I had more time to work on sandpack |
Ok thanks anyway, appreciate your quick response! |
🌈 Feature
Someone knows or able to create a sandbox that not showing this error page made by react-error-overlay ?
Thanks (:
The text was updated successfully, but these errors were encountered: