Hacker News new | ask | show | jobs
by stevage 1217 days ago
>If you have heard about or used Sandpack, you probably know what it’s all about: running any JavaScript application directly in the browser.

I've been a full time JS full stack dev for maybe 8 years, and this sentence doesn't make any sense to me.

2 comments

Pretty sure it's like webpack but runs in your browser. i.e. a bundler+transpiler.
Usually you have a bundler/transpiler running on the host, with sandpack we moved that step to the browser so you can share a link with anyone and they instantly get a development friendly (JSX, TS, ...) project that works without having to install any tooling. It's also a lot faster than something like webpack as most of the bundling complexities are taken away as sandpack transpiles files on demand without the need for bundling as it also controls code execution. With nodebox we pushed this a bit further by also implementing most of the Node.js standard libraries.