<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/why-you-should-ditch-create-react-app-for-vite-jx5aocuap" -->

---
title: Why You Should Ditch Create-React-App for Vite | daily.dev
description: Vite is a build tool similar to Webpack. It can be used for React, Preact, Svelte, Vue, Vanilla JS, and LitElements. Vite uses route-based code-splitting to...
canonical: https://daily.dev/posts/why-you-should-ditch-create-react-app-for-vite-jx5aocuap
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Why You Should Ditch Create-React-App for Vite | daily.dev
og:description: Vite is a build tool similar to Webpack. It can be used for React, Preact, Svelte, Vue, Vanilla JS, and LitElements. Vite uses route-based code-splitting to...
og:url: https://daily.dev/posts/why-you-should-ditch-create-react-app-for-vite-jx5aocuap
og:image: https://api.daily.dev/og/posts/JX5AOcUAP.png
og:image:alt: Why You Should Ditch Create-React-App for Vite
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Why You Should Ditch Create-React-App for Vite

**[Hashnode](https://daily.dev/sources/hashnode)** · [@israelmitolu](https://daily.dev/israelmitolu) · 5 min read · 153 upvotes · 17 comments

## Summary

Vite is a build tool similar to Webpack. It can be used for React, Preact, Svelte, Vue, Vanilla JS, and LitElements. Vite uses route-based code-splitting to figure out what parts of the code actually need to be loaded, and doesn't have to pre-bundle everything.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://israelmitolu.hashnode.dev/why-you-should-ditch-create-react-app-for-vite>

## Community discussion

Top comments from developers on daily.dev.

**@lucascardim7** · 2 upvotes

> didnt know about vite. Looks amazing

**@aramlr** · 1 upvotes

> I totally agree. I remember that using CRA consumed a lot of CPU

**@ghost** · 1 upvotes

> vite is amazing BUT in some cases does not work with certain WebAssembly library, so I cannot not ditch CRA completely yet

**@mervyndean** · 1 upvotes

> just heard of Vite.. thank you for the knowledge

**@alphadev102** · 1 upvotes

> helpful for me
> thanks for sharing

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 1 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments
- [CNCF Unveils Schedule for KubeCon \+ CloudNativeCon Europe 2026](https://daily.dev/posts/cncf-unveils-schedule-for-kubecon-cloudnativecon-europe-2026-ikhcoa5cb) · CNCF · 2 upvotes · 0 comments
- [CNCF Debuts KubeCon \+ CloudNativeCon Japan 2026 Schedule](https://daily.dev/posts/cncf-debuts-kubecon-cloudnativecon-japan-2026-schedule-xp5pyudub) · CNCF · 1 upvotes · 0 comments

---

Tags: [#general-programming](https://daily.dev/tags/general-programming), [#react](https://daily.dev/tags/react), [#vite](https://daily.dev/tags/vite)

[View this post on daily.dev](https://daily.dev/posts/why-you-should-ditch-create-react-app-for-vite-jx5aocuap)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Why You Should Ditch Create-React-App for Vite","url":"https://daily.dev/posts/why-you-should-ditch-create-react-app-for-vite-jx5aocuap","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/why-you-should-ditch-create-react-app-for-vite-jx5aocuap"},"datePublished":"2022-05-05T13:42:47.132Z","dateModified":"2022-05-05T13:42:47.132Z","description":"Vite is a build tool similar to Webpack. It can be used for React, Preact, Svelte, Vue, Vanilla JS, and LitElements. Vite uses route-based code-splitting to...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/426d43046b4897b2b958c01860a97ad2","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/426d43046b4897b2b958c01860a97ad2","isAccessibleForFree":true,"articleSection":"Hashnode","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Person","name":"Israel Oyetunji","url":"https://daily.dev/israelmitolu","image":"https://media.daily.dev/image/upload/f_auto/v1647420773/avatars/j4uuvVGWO65Yl73NP9OHl","description":"Front End Developer and Technical Writer. ","interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"EndorseAction"},"userInteractionCount":510}},"commentCount":17,"discussionUrl":"https://daily.dev/posts/why-you-should-ditch-create-react-app-for-vite-jx5aocuap","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":153},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":17}],"keywords":"general-programming,react,vite","timeRequired":"PT5M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Hashnode","item":"https://daily.dev/sources/hashnode"},{"@type":"ListItem","position":3,"name":"Why You Should Ditch Create-React-App for Vite"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/why-you-should-ditch-create-react-app-for-vite-jx5aocuap","comment":[{"@type":"Comment","text":"didnt know about vite. Looks amazing","datePublished":"2022-05-05T19:36:57.650Z","url":"https://daily.dev/posts/JX5AOcUAP#c-_ASKAXUFs","author":{"@type":"Person","name":"LUCAS ANDRE CARDIM","url":"https://daily.dev/lucascardim7","image":"https://avatars.githubusercontent.com/u/83842396?v=4"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2}},{"@type":"Comment","text":"I totally agree. I remember that using CRA consumed a lot of CPU","datePublished":"2022-05-05T23:41:38.461Z","url":"https://daily.dev/posts/JX5AOcUAP#c-cl-A243BU","author":{"@type":"Person","name":"Aram Lara","url":"https://daily.dev/aramlr","image":"https://avatars.githubusercontent.com/u/72953797?v=4"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1}},{"@type":"Comment","text":"vite is amazing BUT in some cases does not work with certain WebAssembly library, so I cannot not ditch CRA completely yet","datePublished":"2022-05-05T19:38:54.243Z","dateModified":"2022-05-05T19:40:02.520Z","url":"https://daily.dev/posts/JX5AOcUAP#c-ZRD0ZJyHK","author":{"@type":"Person","name":"Deleted user","url":"https://daily.dev/ghost","image":"https://media.daily.dev/image/upload/s--hNIUzLiO--/f_auto/v1705327420/public/ghost_vlftth"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1}},{"@type":"Comment","text":"just heard of Vite… thank you for the knowledge","datePublished":"2022-05-08T13:36:36.128Z","url":"https://daily.dev/posts/JX5AOcUAP#c-5MKtWDbKg","author":{"@type":"Person","name":"MervynDean Hilary","url":"https://daily.dev/mervyndean","image":"https://lh3.googleusercontent.com/a-/AOh14GiHcoTpc3ocG6zWzS7TyTFROt4o4KmTpLDsPgW2=s100"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1}},{"@type":"Comment","text":"helpful for me\nthanks for sharing","datePublished":"2022-05-06T15:28:48.767Z","url":"https://daily.dev/posts/JX5AOcUAP#c-Q3_wwyiDH","author":{"@type":"Person","name":"Alpha Dev","url":"https://daily.dev/alphadev102","image":"https://media.daily.dev/image/upload/f_auto/v1652027682/avatars/2siNfyyiW9iBXfGkPuqiw"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1}}]}
```

