Email or username:

Password:

Forgot your password?
Top-level
Marco Rogers

But once you decide "I'm not gonna install vite", you're left with a pretty big void. What do we do instead? What's the way to start a project after you've made the key decision that you're going to stick close to web standards and low JavaScript solutions? And how do you set things up so that you can thoughtfully expand into js solutions in the future as needed, but without making a mess of things?

10 comments
Marco Rogers

Also, CSS is completely different than it was even 5 years ago. I feel like I'm relearning it quite literally. All of the syntax and constructs are familiar. So I'm not starting from scratch. But I wouldn't solve anything in CSS the same way we used to solve it 10 years ago. There are way better tools that are less hacky and more performant. But we're gonna have to learn them.
social.polotek.net/@polotek/11

Marco Rogers

I suspect that getting off the treadmill also means committing to revisiting all of the development practices we've so painstakingly developed over the last 5-10 years. That's going to suck.

If I was putting my manager hat on, I would say that we need to see this as a choice invest in a better future state. Because what I'm realizing is that in the short term, this transition is probably going to feel slower and more costly than the status quo.

Marco Rogers

This is not a small thing. It's actually huge. Because even as we convince people that the current path is the wrong one, we have to contend with what it costs to change course. It means real, hard business conversations about when and how to pay that cost.

Marco Rogers

For the record, I believe bundle and minify are still best practices in my mind. But I do think there are significant details that can shift. I think we're talking more about what JavaScript we're delivering in the bundles.

I don't have strong recommendations yet. This thread is me realizing that I don't. But I will say that @b0rk convinced me that esbuild is simple and has nice defaults.
social.polotek.net/@polotek/11

Louis Ingenthron

@polotek If it helps, I highly recommend using lightweight CSS support frameworks. Something like bootstrap. It helps provide some initial structure and tools and a launching point without boxing you in.

Ethan Marcotte

@polotek A few years ago, a friend wrote that he didn’t feel he had twenty years of web design experience; rather, he felt like he had five years of experience, four times. I think about that a lot.

Boo Ramsey 🧛🏻‍♂️🧟‍♂️👻🎃

@beep @polotek I have a friend who used to say the same thing. He worked as a web developer at a university and said he felt like he had 1 year of experience, ten times.

Andrew

@polotek Do you have an answer to that?

I tend to use vue2 because the reactivity system saves me time (I think haha) for big solo dev apps.

I managed to avoid a build system for a pretty large app but it got pretty messy eventually and I did wish I had a system to bundle and minify. Maybe http2 removes some of the bundling benefits (although multiple round trips for small files seems bad).

Haven't jumped into web components yet haha

:iris_spelled_izls:

@polotek@social.polotek.net I've found myself in an interesting place having worked on React and Angular projects at my last 2 jobs, but keeping close to standards and vanilla JS (or a minimal TS build system) in my personal web projects. If I'm not just building a static site I usually start by laying out a simple DOM and then starting that basic JS/TS stuff on top of that. I'm also learning web components, which is great and takes a lot of thunder from those frontend frameworks.

BTW I like your comment about actually digging into your current solutions to know them well so that you can actually start making decisions about how to change them. I had to do this recently when I reimplemented a test harness that another team broke when they upgraded the main framework. Throughout the teams, most people see the frontend build system and runtime libs as a black box, but we can't do that if we want to actually make improvements, we have to investigate what's actually going on.

@polotek@social.polotek.net I've found myself in an interesting place having worked on React and Angular projects at my last 2 jobs, but keeping close to standards and vanilla JS (or a minimal TS build system) in my personal web projects. If I'm not just building a static site I usually start by laying out a simple DOM and then starting that basic JS/TS stuff on top of that. I'm also learning web components, which is great and takes a lot of thunder from those frontend frameworks.

BTW I like your...

Go Up