3 ms·
Docusaurus maintainer here Yes we like MDX and live code blocks to embed natively runnable code in your page. I don't like the idea of loading a remote iframe
by slorber 4y ago
Docusaurus maintainer here
Yes we like MDX and live code blocks to embed natively runnable code in your page.
I don't like the idea of loading a remote iframe much (at least for most cases using JS).
The StackBlitz / WebContainer approach also seems better than a remote VM + iframe
We'll likely use a project called React-Runner in the future, quite similar to our current setup (real native embed) but lighter.