---
title: "Discussion on \"Why You Should Ditch Create-React-App for Vite\" | Hashnode"
description: "Discussion on \"Why You Should Ditch Create-React-App for Vite\". Create React App (CRA) has long been the go-to tool for many developers of all skill levels when it comes to constructing a React app (beginners, intermediate and even experts). It does, however, have some significant drawbacks, which are speed and p..."
url: "https://hashnode.com/posts/why-you-should-ditch-create-react-app-for-vite/627388d474dff339292d0df2"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Why You Should Ditch Create-React-App for Vite](https://blog.mitolu.dev/why-you-should-ditch-create-react-app-for-vite?utm_source=hashnode&utm_medium=feed)

Create React App (CRA) has long been the go-to tool for many developers of all skill levels when it comes to constructing a React app (beginners, intermediate and even experts). It does, however, have some significant drawbacks, which are speed and p...

May 5, 2022 · 6 min read · blog.mitolu.dev  
Updated Sep 17, 2022  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#thw-web-apps](https://hashnode.com/tag/thw-web-apps)
-   [#create-react-app](https://hashnode.com/tag/create-react-app)
-   [#productivity](https://hashnode.com/tag/productivity)

## Written by

[Israel Oyetunji](https://hashnode.com/@IsraelMitolu)

@IsraelMitolu · Osun, Nigeria

  
[View profile](https://hashnode.com/@IsraelMitolu)

Front End Developer && Technical Writer

Hello there 👋 I'm Israel, a Frontend Web Developer who is passionate about creating engaging UI and interactive experiences. I'm also a technical writer who writes on Frontend technologies to help other developers understand and be creative with them :)

## Responses 4

Markdown supported · ⌘↵ to post

[yuqieang chan](https://hashnode.com/@Yuqieang)

[May 8, 2022](https://hashnode.com/posts/why-you-should-ditch-create-react-app-for-vite/627388d474dff339292d0df2/comment/6277db2bc2a8c278735c7aca)

apo

[Veeresh Raavipaati](https://hashnode.com/@Veeresh)

[May 5, 2022](https://hashnode.com/posts/why-you-should-ditch-create-react-app-for-vite/627388d474dff339292d0df2/comment/6274483f8af49c436c44003b)

Do we find any difference in performance when deployed in production?

[Israel Oyetunji](https://hashnode.com/@IsraelMitolu)

[May 6, 2022](https://hashnode.com/posts/why-you-should-ditch-create-react-app-for-vite/627388d474dff339292d0df2/comment/6274483f8af49c436c44003b#reply-6274a9dff24a8e4867f92547)

That's a good question, Veeresh.

Yes, by using Rollup under the hood, during production, Vite ensures performance optimization techniques like tree-shaking, lazy-loading, and common chunk splitting.

[Quincy Oghenetejiri Ukumakube](https://hashnode.com/@Quincy-Oghenetejiri)

[May 5, 2022](https://hashnode.com/posts/why-you-should-ditch-create-react-app-for-vite/627388d474dff339292d0df2/comment/6273d2f077679f3cf14d7709)

Nice article Israel vite is indeed faster But I believe it does not have much functionality in comparison to CRA with regards to warnings and errors being shown in the terminal.

[Israel Oyetunji](https://hashnode.com/@IsraelMitolu)

[May 5, 2022](https://hashnode.com/posts/why-you-should-ditch-create-react-app-for-vite/627388d474dff339292d0df2/comment/6273d2f077679f3cf14d7709#reply-627402debd691e428965f6c8)

Yes, I did see some reports about it online. Also, found one about type errors not being detected as regards type checking in Typescript.

From the official [docs](https://vitejs.dev/guide/features.html#typescript):

Vite does NOT handle type checking by itself:

-   During dev, your IDE should already report the errors.
-   During build, the latest template does perform type checking already. Make sure to run `npm init @vitejs/app@latest`.

[Victor Eke](https://hashnode.com/@Eke)

[May 5, 2022](https://hashnode.com/posts/why-you-should-ditch-create-react-app-for-vite/627388d474dff339292d0df2/comment/6273ca7761c9093d16dcd545)

I'm also writing an article on Vite. It is so cool and fast. Nice article [Israel Oyetunji](https://hashnode.com/@IsraelMitolu)

[Israel Oyetunji](https://hashnode.com/@IsraelMitolu)

[May 5, 2022](https://hashnode.com/posts/why-you-should-ditch-create-react-app-for-vite/627388d474dff339292d0df2/comment/6273ca7761c9093d16dcd545#reply-6273fb4abd691e428965f637)

Thank you, Victor. I'd love to read your article when it's published!
