Skip to content

next-live documentation

next-live

Where to start

Frequently asked

Does import work for any npm package?
Only what you register. There is no npm in the browser.
Module registry
My app already uses the same library. Two copies?
No, one instance, which is why a shared store really is shared.
Sharing libraries
Do I need 'unsafe-eval' in production?
Yes, but scoped to the routes that run snippets, not your whole app.
Security
Will this bloat my bundle?
A preview-only page pays 16.1 KB. The editor and transpiler load separately.
Scaling
Do I need next/dynamic with ssr: false?
No. Nothing compiles during the server pass, so hydration cannot mismatch.
Getting started
Are TypeScript types checked?
No, they are stripped, not verified.
Troubleshooting

All pages