What is Vite? How does it work? Explaining all the files in a generated React + TypeScript App
Вставка
- Опубліковано 12 вер 2024
- React Roots is my new course that will teach you the basics of building modern single page web applications with React and TypeScript.
Visit www.reactroots... to learn more.
Buy the course: superpeer.com/...
💜 Follow on Twitch: / codinggarden
📩 Sign up for my mailing list: list.coding.ga...
💖 Donate: coding.garden/...
😍 Pledge: coding.garden/...
💬 Discord: coding.garden/...
🎉 Stickers: coding.garden/...
💻 Gear List: coding.garden/...
🔎 Search for more Coding Garden videos here: coding.garden/...
🗣 View the Coding Garden FAQ here: github.com/Cod...
Literally, this is amazing, I've never commented on UA-cam videos but this one I've learned so much that I really needed so thank you so much.
You are amazing. Precisely the level of detail I'm after. Subscribed.
Your videos are always so informative and well-presented. Thank you for sharing your knowledge with us!🚀😎
This is so well explained! thanks! May the force be with you 🌱
I get to buy your class tomorrow. Yay!
Technically, the only file tsconfig.node.json checks, is the vite.config.ts, because thats the only file which is listed in "include"
Vite has sever side rendering out of the box, press the others option after you init the project then the first option out of the two in the second menu and then select the React app
The built in SSR in Vie is low level and meant for framework authors. Read more here:
vitejs.dev/guide/ssr.html
And see Vite SSR frameworks / libraries here: github.com/vitejs/awesome-vite#ssr
Aside from the massive ecosystem, what real advantages are there to using React compared to other newer frameworks/libraries? Are there specific use cases where going the React route is better than Vue, Svetle, Solid, etc., or is it mainly preference at this point?
Rakkasjs can do Nextjs like things with vite but it's a little rough around the edges. They do have some cool things like useServerSideQuery which is like getserverside props but as a hook and it also has svelte like server and client hooks it also has locals which is wish next13 had to let you share objects between let's say the middleware, route handlers a d server components
you are awesome 💚🌱
Do You have a vue js 3 course as well? 😄
Could you record video for using pwa in react typescript vite??😊
I talked about this in my class today.
Explore vite lib mode please
Good video, just recommend to go a little bit slower