Open fi3ework opened 3 days ago
This error is exposed at runtime, not in compilation, so the Rsbuild error overlay takes no effect.
If we do some static check, it will take a long time in build process maybe.
Got it, what I'm expecting might be Error Boundaries from the default theme. The boundary could include MDX content which is prone to throw error.
What problem does this feature solve?
When I accidentally copied a line of incorrect code into mdx, the compilation error led to a white screen in Rspress. It took me a moment to realize that it might be due to an error in compilation. I hope for better error prompts, such as using the overlay from Rsbuild or developing an exclusive overlay for Rspress.
What does the proposed API look like?
No need to add new API.