Remix.run Logo
bobbylarrybobby a day ago

On the one hand I can see the appeal of not having a build step. On the other, given how many different parts of the web dev pipeline require one, it seems very tricky to get all of your dependencies to be build-step-free. And with things like HMR the cost of a build step is much ameliorated.

prisenco a day ago | parent [-]

I haven't run into any steps that require one, there's always alternatives.

Do you have anything specific in mind?

webstrand a day ago | parent [-]

Anything that uses JSX syntax, for instance.

Any kind of downleveling, though that's less important these days most users only need polyfills, new syntax features like `using` are not widely used.

Minification, and bundling for web is still somewhat necessary. ESM is still tricky to use without assistance.

None of these are necessary. But if you use any of them you've already committed to having a build step, so adding in a typescript-erasure step isn't much extra work.

brazukadev a day ago | parent | next [-]

If there is one thing I don't miss using WebComponents is JSX. lit-html is much, much better.

claytongulick a day ago | parent [-]

It's such a lovely and simple stack.

No Lit Element or Lit or whatever it's branded now, no framework just vanilla web components, lit-html in a render() method, class properties for reactivity, JSDoc for opt-in typing, using it where it makes sense but not junking up the code base where it's not needed...

No build step, no bundles, most things stay in light dom, so just normal CSS, no source maps, transpiling or wasted hours with framework version churn...

Such a wonderful and relaxing way to do modern web development.

prisenco a day ago | parent [-]

I love it. I've had a hard time convincing clients it's the best way to go but any side projects recently and going forward will always start with this frontend stack and no more until fully necessary.

brazukadev a day ago | parent [-]

This discussion made me happy to see more people enjoying the stack available in the browser. I think over time, what devs enjoy using is what becomes mainstream, React was the same fresh breeze in the past.

Calazon 20 hours ago | parent | prev [-]

I recently used Preact and HTM for a small side project, for the JSX-like syntax without a build step.