Live data from Hacker News

Vite – Next Generation Front End Tooling

main.vitejs.dev

291–300 of 383 posts

Re: Vite – Next Generation Front End Tooling

#291
post #46

It gave me a pause to think about how it came that I can never really tell what am I looking at anymore. Forget the HN title, which is stupid — what does this landing page tell me? Well, that it's… next gen, and it apparently can catch up with me, which is not much, since I'm not really catching up with what's going on anyway. Also, that it's "tooling". Like IDE, or framework, or maybe a chainsaw. Can't tell. "Gettin…

Terrible landing page for an otherwise excellent tool. It sets up JS transpiling and bundling for you in an easy way, then provide a server with pretty fast hot reload. This solves 2 problems: - the complicated js project stack is now simple to setup, unlike with webpack - saving and seeing the result of your coding is now almost instant, unlike with CRA It's a joy to use, given that it's from VueJS author, and I hig…

Thanks for the info, will switch from CRA as soon as I can :D

Re: Vite – Next Generation Front End Tooling

#292
post #72

Earlier quoted context omitted.

at this point I've come to realize that all you need to know about front end frameworks anymore is that they are not jquery

You are utterly wrong. There's a huge difference between even Next.js and create-react-app, even though they're both based on React. The JS framework space is huge, messy, complex, and endlessly frustrating, but you can't wave that all away just because you can't keep up with it. I can't keep up either, but I do employ people who do, and they recently moved all our build tooling to Vite, which dramatically improved o…

The hilarious thing is that this is the first time I am seeing DX in this context.

Is DX meant to be Developer Experience or something different?

Re: Vite – Next Generation Front End Tooling

#293
post #59

Working with front end for 5+ years have nearly made me switch careers. There's an absolute onslaught of languages, frameworks, patterns and now also "tools" that never really work in you editor, and you never really grasp before moving on to the next thing. I think me and my team have spent 90% of our time working with tooling, and all creativity and joy has gone out the window - because you never become a master, a…

It's hilarious listening to my friends who do frontend rave about the the incredible framework of the month, every month there's a new one that's supposed to be the last, ultimate, final stop for developing frontends. Lately it's all about server-side rendering... they managed to reinvent PHP 25 years later with 100x the complexity.

This gets repeated in every thread about front-end tech, and every time people have to repeat the same explanation. SSR is not PHP. SSR allows you to run the same code on client and server. You get to use client-side frameworks, but the page is rendered before it even reaches the client.

If people could try to understand SSR before diminishing it, we could have much more productive discussions. But as of now the frequency of these uninformed comments makes me feel like people who are ignorant about front-end, are somehow proud of their ignorance.

Re: Vite – Next Generation Front End Tooling

#294
post #3

Recently started a new frontend project with Vite, Typescript and MithrilJS and it's been a real pleasure to work with. Contrast that to my usual dealings with Webpack I couldn't be happier.

Happy to see other folks still using Mithril. I've looked at other frameworks (svelte recently) and keep coming back to Mithril. It's so simple and easy to understand, it'll take something special to have me consider something else.

Mithril is criminally underrated. Yeah it won't have the same level of community support that things like React and Vue have but it's extremely simple and concise to work with and nothing about it feels "heavy" like the former two.

By far it's my favorite tool to reach for when I need more than just plain vanilla JS.

Re: Vite – Next Generation Front End Tooling

#295
post #46

It gave me a pause to think about how it came that I can never really tell what am I looking at anymore. Forget the HN title, which is stupid — what does this landing page tell me? Well, that it's… next gen, and it apparently can catch up with me, which is not much, since I'm not really catching up with what's going on anyway. Also, that it's "tooling". Like IDE, or framework, or maybe a chainsaw. Can't tell. "Gettin…

click "Why Vite?". I think it has a pretty good explanation about what it is doing and the tools that are similar to it and the problem it is trying to solve.

Re: Vite – Next Generation Front End Tooling

#297

Earlier quoted context omitted.

So, this is not a framework like React, right?

It’s more like Webpack, the software that processes your React code into JavaScript bundles that are optimized for the browser. ie puts together what belongs together, removes the unused code, provides a test server to develop and get instant refresh.

How would one use it together with a backend that already serves the frontend code? As a compiler only?

Re: Vite – Next Generation Front End Tooling

#298
post #185

Earlier quoted context omitted.

Why can't the "back end community" agree on a single server side language and database and compiler? Gee so much churn!

We both know those aren't even close to the same thing. All this grunt->gulp->webpack->vite->'the inevitable replacement for vite' are really achieving is finding slightly different ways of doing the same thing.

All this make->ant->maven->gradle->'the inevitable replacement for gradle' are really achieving is finding slightly different ways of doing the same thing.

Re: Vite – Next Generation Front End Tooling

#299

F*king hell the ecosystem just never stops growing. Vite, Rollup, HMR? What the f*k is all this? Why does building a frontend have to be a titanic project involving a hundred tools including build systems and tree shakers and compilers and whatever else is going on. Web development is an embarrassment and a blight on computing.

Perhaps you should take the time to find out. Many of the things you mention create a development experience that is pretty cool. It allows you to dynamically change your code and instantly see the result. I do backend systems, embedded systems, and have done a lot of native UI apps.... modern web development with things like vite and vue are really quite nice in comparison. The development feedback loop is very quick

Re: Vite – Next Generation Front End Tooling

#300
post #46

It gave me a pause to think about how it came that I can never really tell what am I looking at anymore. Forget the HN title, which is stupid — what does this landing page tell me? Well, that it's… next gen, and it apparently can catch up with me, which is not much, since I'm not really catching up with what's going on anyway. Also, that it's "tooling". Like IDE, or framework, or maybe a chainsaw. Can't tell. "Gettin…

Funny. The landing page told me immediately what it is. And I'm not some expert, I've only done a little bit of hobbyist JS development.
Post reply on HN