Stop Using Create React App

preview_player
Показать описание
Sorry about the bad audio quality. My computer changed my mic to use my webcam mic instead of my actual microphone.

🌎 Find Me Here:

#Shorts
Комментарии
Автор

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

ronEnlil