The fun fact : Creator of vite is EVAN who is also the creator of vuejs
patrickngnet
Once a react developer use vite, they will never do create react app again
mindbodyps
I swear, everytime we newbies learn something, we quickly learn that it's obsolete, our information is incomplete, or there's something wrong with the practice.
manoking
for a second I thought you were going to configure the entire webpack manually
tahirdibirov
I started learning React a few months ago, and our teacher told us to always try to use a smaller package installer cause natively React has a lot of stuff you won’t necessarily use
cedrictheveneau
I overclocked my PC to run Create React.
enchantereddie
You look like Homelaner from "The Boys"
scratchpatch
Vite seems cool. The problem is its eco system isn't anywhere near as robust as webpack's. And its edge cases (including solutions) aren't as established. That means its far harder to find a library you may need, and if you run into a rare issue or conflict, you're far less likely to come across someone else who encountered it or how they solved it.
Dylan_thebrand_slayer_Mulveiny
The only problem is that vite doesn’t run with cloud flare pages to host your app live right away 😢… so I’ve been using create React app
SalsaColombiaUS
I was about to change to vite this week. But once you look for typescript and jest compatibility everything falls apart
mx
I switched to Vite a week ago and love it.
It's great for non React too.
Haven't figured out how to host from lan properly though. And I missed the auto load page but thankfully there is a config for that.
ShiloBuff
This was actually extremely helpful. I'm just getting started with node, and trying to use TypeScript with create-react-app was turning out to be rather tedious and non-trivial. With vite, I got up and running with TypeScript in seconds.
mostafahassan
I use Vite for some smaller projects at work but as it currently stands, it doesn’t have the community support of something like Webpack. For example, CRA will fail to compile and throw a warning on your app if ESLint finds an issue or you mess up your TypeScript types. Vite on the other hand will let you compile basically anything so long as it’s valid JS syntax. There is an ESLint plugin for Vite that I use but I find it’s inconsistent at times. Overall, I do love Vite and it’s really only a matter of time before it beats out Webpack in community support.
KasimAhmic
I was working with vite for a while, but when I used it with Material UI I ran into so many problems one of them was (not recognizing the custom theme) I had to switch back for CRA
ahmadsalah
vite is great until you find out it doesnt respect name spaces and packages dont work because of that
Tofu_Slayer
Nice. I'm a vue developer and I was looking for it! So cool I can use vite :)
Tassaczek
Vite supports many of the Roll-up plugins, which is very cool.
the_truth_seeker
The question is which to prefer, time to init your project or the stability of your project in a long term basis
retzd
I think making a multipages projects needs a way lot of configs!
gauravkrishna
thank you that's great and really helpful .. please do more like that one