Earlier quoted context omitted.
Blazor (WASM) has not been released yet - they're working on optimizing payload size.
I didn't know this, I was just trying out the project because it seemed interesting. If they can get the bundle sizes down it looks like it could be a great developer experience.
Zwitterion: a web dev server that lets you import anything
61–70 of 127 posts
Re: Zwitterion: a web dev server that lets you import anything
#62"Zwitterion lets you get back to the good old days of web development." I'm OK with people pining for simpler times. There's a lot of projects that are overcomplicated these days. But the good old days of web development didn't require three files for "Hello, World."
Re: Zwitterion: a web dev server that lets you import anything
#63Re: Zwitterion: a web dev server that lets you import anything
#64Earlier quoted context omitted.
React Router used to be a mess. And should I use Redux? I thought it’s not cool anymore. If I do, do I store everything in a global state? Maybe I’ll use Context and Hooks. Or was it HoCs? And what about mobX? I heard it’s like Vue. I like Vue. And I absolutely need something to handle requests. Saga? Maybe some GraphQL? Now that I have my views, my state, and my data, how do I test this? Jest or something else? But…
Everyone worries about these choices in react, but you don't need to, for most apps, they're all good choices: use redux or mobx, doesn't really matter. Use lodash or underscore, doesn't really matter. There are minor advantages to some of the tools, and the nice thing about the react ecosystem is that it lets you pick if you really need to, but for getting started, just pick one and move on. IMO this is highly prefe…
And my experience tells me that fewer than 1 in 10 React devs can make those calls.
Re: Zwitterion: a web dev server that lets you import anything
#65Earlier quoted context omitted.
I’ve been doing React for years and haven’t experienced this. What kinds of apps are you building?
React Router used to be a mess. And should I use Redux? I thought it’s not cool anymore. If I do, do I store everything in a global state? Maybe I’ll use Context and Hooks. Or was it HoCs? And what about mobX? I heard it’s like Vue. I like Vue. And I absolutely need something to handle requests. Saga? Maybe some GraphQL? Now that I have my views, my state, and my data, how do I test this? Jest or something else? But…
Re: Zwitterion: a web dev server that lets you import anything
#66Earlier 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.
Re: Zwitterion: a web dev server that lets you import anything
#67"lets you import anything" It doesn't seem to support importing css or image files. I don't use them, but the webpack css-loader and image imports seem popular.
Re: Zwitterion: a web dev server that lets you import anything
#68Can 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…
Yes, you don't get JSX this way, but I've always seen people's obsession with syntactic sugar as bikeshedding. Typing out code isn't the bottleneck for development, it's just one of the easiest things to optimize, so people obsess over optimizing syntax while much more significant problems like debugging and traceability are largely ignored because people don't understand them as well. Worrying about losing the benefits of JSX when you're writing a language that still fails silently when you reference a mis-spelled property on an object is like worrying about your haircut while you bleed out from an arterial wound.
Re: Zwitterion: a web dev server that lets you import anything
#69Can 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…
Ember.js is very much batteries-included although learning the framework definitely requires a time investment.
Re: Zwitterion: a web dev server that lets you import anything
#70Cool project. "Also...Zwitterion is NOT a bundler. It eschews bundling for a simpler experience." I get that, run locally, it's not bundling, but how is it not a bundler when running static builds for production?