4 ms·
What would be the user case of running in your browser?
by diogolsq 2y ago
What would be the user case of running in your browser?
- danielwetan 2y agoYou can create a SaaS with fully private data on the client side while using both local operations and managing control via API calls. Think of it like a mobile app, but for the browser.
- robertlagrant 2y ago> with fully private data on the client side How is the data fully private?
- gwright 2y agoFWIW, I read that to mean "not shared with the backend".
- robertlagrant 2y agoOh! Right, I see. I'd have thought we could do that today in Typescript or something, but maybe they have something extra in mind.
- evolve2k 2y agoYeah this is sort of the point. Much of JavaScripts ascendancy is simple it’s monopoly on being able to run native in browser. Wasm lets you bring other languages to the browser. The author didn’t mention using the browsers web console or “how do I use rails console in the browser with wasm?”. That’d be interesting to me. Can I write Ruby in the web console and see things change live in my wasm app?
- emnudge 2y agoOutside of making something - it’s very useful for setting up a quick project. Stackblitz did this with Node (aka their Web Containers). You could make a new project very quickly and prototype an idea. When finished, download it off the browser and deploy it.
- JamesSwift 2y agoA common usecase for offline-first mobile app situations is shared business logic, especially for validations. Being able to validate client-side and detecting issues without a server dependency is a nice boost to UX.
- deleted 2y ago[deleted]