Live data from Hacker News

Zwitterion: a web dev server that lets you import anything

github.com

31–40 of 127 posts

Re: Zwitterion: a web dev server that lets you import anything

#31
post #25

Earlier quoted context omitted.

Create-react-app is what you’re looking for.

But then you're forced to use React...and as soon as you need to do anything outside of what it provides it all falls apart which happens pretty quickly in my experience with it.

I’ve been doing React for years and haven’t experienced this. What kinds of apps are you building?

Re: Zwitterion: a web dev server that lets you import anything

#32
post #12

Can anyone point me to a workflow where the cognitive load is similar to how it was in the good old days? i.e. some thing that does everything for me apart from the bit where I write application and presentation code? That mostly just works and doesn't require me to understand the whole stack. Because when I switch to other languages/environments I can most remain blissfully unaware of the plumbing that keeps the thi…

Parcel (https://parceljs.org/) fits this bill nicely and I use it for all my personal frontend development needs (node and browser targeted). You just add a script tag that points to a js/typescript/rust/(whatever else the author eventually adds) file and run parcel on said html file and you get hot reloading, decent error reporting, bundling, and asset loading via `import` without having to configure a single thing (other than npm installing sass and react and whatever other libraries you want to use))

Re: Zwitterion: a web dev server that lets you import anything

#33
post #23

Earlier quoted context omitted.

I'm not sure where this idea has come from, but WASM is designed to run alongside Javascript. It isn't replacing it.

This. It's funny tough, people are starting to pump giant runtimes over the air just to get C# running on the frontend, while people already complaining about JS bundle size smh.

Indeed, I tried Blazor and a simple Hello World page loaded about 7 megabytes of DLLs in the browser just to show some text.

Re: Zwitterion: a web dev server that lets you import anything

#34
post #12

Can anyone point me to a workflow where the cognitive load is similar to how it was in the good old days? i.e. some thing that does everything for me apart from the bit where I write application and presentation code? That mostly just works and doesn't require me to understand the whole stack. Because when I switch to other languages/environments I can most remain blissfully unaware of the plumbing that keeps the thi…

I really like svelte, there is a build/compile step, but it’s pretty much batteries included.

I have not needed to touch any of the config files and it “just works”. I got turned off by React and Vue where you need to learn a build tool and write your own config.

Re: Zwitterion: a web dev server that lets you import anything

#35
post #25

Earlier quoted context omitted.

Create-react-app is what you’re looking for.

But then you're forced to use React...and as soon as you need to do anything outside of what it provides it all falls apart which happens pretty quickly in my experience with it.

>need to do anything outside of what it provides

Can you elaborate on what you run into?

Re: Zwitterion: a web dev server that lets you import anything

#36
post #10

I wonder if someone quantified the millions of hours wasted by OCD bikeshedders moving their projects over to the latest, not-necessarily better new thing offering vague utility improvements over the thing that was just starting to feel comfortable... if the JS community would stop churning their north star toolset every 18-24 months. Seriously: it's like you're trying to nuke the moon. This is why people legitimatel…

Awesome with new ideas and approaches to things. Just because someone have taken time to solve things differently does not automagically imply that this is something that forces someone to throw old stuff out. Strange comment IMO.

I think he is pretty spot on. JS community is infamous for the constant replacement of tools with the next shiny thing, which are all built on a house of cards (one-line npm packages). I would rather see some more serious tools being put out and matured instead of this constant running around.

My own personal theory is that because the barrier of entry is so low, people get a little too excited about being a contributor and solving a problem "differently" (sometimes before even understanding the problem space well enough). In short - lot of it is inexperience.

Re: Zwitterion: a web dev server that lets you import anything

#37
post #33
post #23

Earlier quoted context omitted.

This. It's funny tough, people are starting to pump giant runtimes over the air just to get C# running on the frontend, while people already complaining about JS bundle size smh.

Indeed, I tried Blazor and a simple Hello World page loaded about 7 megabytes of DLLs in the browser just to show some text.

Blazor (WASM) has not been released yet - they're working on optimizing payload size.

Re: Zwitterion: a web dev server that lets you import anything

#38
post #25

Earlier quoted context omitted.

Create-react-app is what you’re looking for.

But then you're forced to use React...and as soon as you need to do anything outside of what it provides it all falls apart which happens pretty quickly in my experience with it.

They have an eject function which lets you modify The environment and extend it however you want.

Re: Zwitterion: a web dev server that lets you import anything

#39
post #3
post #2

Appears to have goals similar to https://parceljs.org/ , except parcel is under active maintenance and development whereas the latest release on this one is from a year ago. Am I missing something important? :)

This project is very clearly under active dev. The box Github puts on the repo front page saying the last release was a year ago is misleading.

Which "box" are we talking about?

Re: Zwitterion: a web dev server that lets you import anything

#40
post #12

Can anyone point me to a workflow where the cognitive load is similar to how it was in the good old days? i.e. some thing that does everything for me apart from the bit where I write application and presentation code? That mostly just works and doesn't require me to understand the whole stack. Because when I switch to other languages/environments I can most remain blissfully unaware of the plumbing that keeps the thi…

Meteor comes pretty close being a zero-config build tool and free choice of frontend framework. But you do need to understand the framework
Post reply on HN