Live data from Hacker News

Stackblitz – Online VS Code Editor for Angular and React

stackblitz.com

71–75 of 75 posts

Re: Stackblitz – Online VS Code Editor for Angular and React

#71
post #60

Earlier quoted context omitted.

...CodeSandbox has no offline support whatsoever. It sounds like your motivation is to promote an unrelated product in this HN thread, and that's super lame :(

I think they simply didn't understand the distinction that one runs js bins (npm install, webpack build) on a server, and the other in the browser. They also might not understand why it matters.

CodeSandbox does almost everything in the browser however. The only thing it doesn't do in the browser is dependency bundling, which StackBlitz does in this case.

Essentially CodeSandbox can work offline if you already had the website open while you're online, then you can still continue offline. StackBlitz has the advantage that the tab where your application is can also be opened initially offline, which is handy for showing your application when you have no connection, but if I'm not wrong you cannot continue developing offline. I'd love to hear that I'm wrong, I'm really impressed with StackBlitz.

I'm the author of CodeSandbox btw :).

Re: Stackblitz – Online VS Code Editor for Angular and React

#72
post #60

Earlier quoted context omitted.

I think they simply didn't understand the distinction that one runs js bins (npm install, webpack build) on a server, and the other in the browser. They also might not understand why it matters.

CodeSandbox does almost everything in the browser however. The only thing it doesn't do in the browser is dependency bundling, which StackBlitz does in this case. Essentially CodeSandbox can work offline if you already had the website open while you're online, then you can still continue offline. StackBlitz has the advantage that the tab where your application is can also be opened initially offline, which is handy f…

> but if I'm not wrong you cannot continue developing offline

Completely false, see -> https://twitter.com/ericsimons40/status/893238309085822977

You even responded to that thread yesterday, not sure how you didn't see this...

Re: Stackblitz – Online VS Code Editor for Angular and React

#73

Earlier quoted context omitted.

CodeSandbox does almost everything in the browser however. The only thing it doesn't do in the browser is dependency bundling, which StackBlitz does in this case. Essentially CodeSandbox can work offline if you already had the website open while you're online, then you can still continue offline. StackBlitz has the advantage that the tab where your application is can also be opened initially offline, which is handy f…

> but if I'm not wrong you cannot continue developing offline Completely false, see -> https://twitter.com/ericsimons40/status/893238309085822977 You even responded to that thread yesterday, not sure how you didn't see this...

I did see that tweet. Maybe I was a bit unclear. I mean that the whole editor itself doesn't open when you don't have a connection (at least for me). My reproduction steps are:

1. Open https://stackblitz.com/fork/react

2. Disconnect from internet

3. Refresh the tab

At least for me this gives me a 404. I'm on Chrome. However, when I open the preview tab while offline it doesn't 404 on me.

Re: Stackblitz – Online VS Code Editor for Angular and React

#74

Creator here — thanks for posting our project! For more info, check out my Medium announcement post here: https://medium.com/@ericsimons/stackblitz-online-vs-code-ide... :) Happy to answer any q's & would love to hear your feedback!

Thanks for pushing the limit of browser. I made a customer npm package that wraps react-16.0.0-beta.3 and it runs well in both RunKit and StackBlitz.

https://twitter.com/ontouchstart/status/893886659070230529

I am sure it will be a great tool for npm package authors to test new server and browser ideas.

Post reply on HN