React VS vite

Compare React vs vite and see what are their differences.

React

The library for web and native user interfaces. (by facebook)

vite

Next generation frontend tooling. It's fast! (by vitejs)
Our great sponsors
  • Appwrite - The open-source backend cloud platform
  • InfluxDB - Collect and Analyze Billions of Data Points in Real Time
  • Onboard AI - Learn any GitHub repo in 59 seconds
React vite
1623 749
215,789 61,473
0.6% 1.5%
9.6 9.8
5 days ago 4 days ago
JavaScript TypeScript
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

React

Posts with mentions or reviews of React. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-04.

vite

Posts with mentions or reviews of vite. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-11-30.
  • NPM workspace and vite - Read dependency build output (d.ts file)
    3 projects | /r/webdev | 30 Nov 2023
    I have a monorepo which uses the npm workspace feature. The packages can be built with using vite and d.ts files are generated using vite-plugin-dts. Every package has a vite config.
  • My Journey in Making "Coin Factory": A Web Game
    4 projects | /r/incremental_games | 27 Nov 2023
  • Introduction to TypeScript with React
    4 projects | dev.to | 25 Nov 2023
    Now, we will create a Vite project using TypeScript.
  • RiotJS + ViteJS tutorial
    4 projects | dev.to | 15 Nov 2023
    import { defineConfig } from 'vite' import riot from 'rollup-plugin-riot' export default defineConfig({ root : process.cwd() + '/client', plugins : [riot()], build: { minify : 'esbuild', /** https://vitejs.dev/config/build-options.html#build-minify */ target : 'esnext' /** https://vitejs.dev/config/build-options.html#build-target */ } })
  • Quick Summary of Angular 17
    3 projects | dev.to | 13 Nov 2023
    esbuild plus Vite is out of developer preview and enabled by default, yielding 67%, 87%, 80% speed improvements for build time, hybrid build time and hybrid serve time respectively.
  • 11 Ways to Optimize Your Website
    12 projects | dev.to | 12 Nov 2023
    Speaking of frontend tools, Vite is definitely one that we can't afford to overlook. As your application grows increasingly complex, it is not uncommon for a single application to have hundreds or even thousands of modules. As a result, it often takes an unnecessarily long time for the web bundlers to process all of them before a dev server can be started.
  • Ask HN: What framework/tools to use to build front end in 2023?
    6 projects | news.ycombinator.com | 11 Nov 2023
    I'm for Vue/Nuxt. While reading React code is fine, I found it easy to shoot myself in the foot (causing circular effects or getting no reactivity) in a way Vue didn't. Vue feels more explicit. I like React's TSX for embedding HTML, but Vue's splitting of model and view appeals to me. I'm torn on that one.

    Vue's ecosystem isn't as big, but it's an established framework. Both React and Vue feel easier to work with than Angular. RxJS is really cool, but also very comprehensive, making it difficult to keep the entire API in mind. At least for me, who only use it casually (used to use it more while at Google.) And on top of that, I have to know the Angular API. Angular used to be great for Material Design, but I nowadays there are MD packages for all systems.

    Nuxt is for Vue what Next is for React: SSR and SSG. It adds auto-imports, which is nice. At this point, I see no reason to use Vue alone, since there's always something that can be pre-rendered. Perhaps the frontpage, or help pages. Since Vue itself provides entrypoints for SSR, Nuxt is more of a file-structure based router that just simplifies things. The documentation is a bit sparse on e.g. the difference between a plugin and a module, and I usually resort to navigating their source to understand things. That might not be everyone's cup of tea.

    If what you're writing is a web app, there is also Quasar, built on top of Vue. Similar to Nuxt in that it ties in directory structure, build system and MVC framework. It is also a Material Design UI widget library. Their selling point is that you can build mobile apps, and web apps with the same library. I.e. like React Native. I felt it strays too far away from the core simplicity of Vue, unlike Nuxt, but it's no doubt a very capable framework.

    Finally, I'm currently using PrimeVue as the UI widget/theming library on top of Vue. It's okay. :\ Switched to it when the Vue Bootstrap project decided to to support Vue 3 (or whatever the situation was.) I haven't come across anything that's actively broken or missing. The companion library PrimeFlex provides layout CSS. Annoyingly, they've decided to close GitHub FRs, and some (far from all) bugs, and just keep track of them internally. Makes it more dificult to communicate, but I don't know their reasoning behind it (they didn't respond when I asked.)

    * https://vuejs.org/

    * https://nuxt.com/

    * https://vitejs.dev/

    * https://primevue.org/

    * https://primeflex.org/

    * https://quasar.dev/

  • Deploying container applications on AWS with CI/CD pipelines
    5 projects | dev.to | 10 Nov 2023
    We don't need a fancy fully-functional web application for this project. We just need a simple web application that we can use to deploy, build docker image and make a few changes to test our CI/CD pipeline. So we will just be using a simple react application boilerplate created with Vite. You can create your own or use any other boilerplate you like. So let's go into our working directory (any folder you like) and create a new vite application. I will be using pnpm for this project and here is a link to their installation guide.
  • Learn serverless on AWS step-by-step: Upload files on S3
    2 projects | dev.to | 8 Nov 2023
    Finally, let's create a React application that will use our backend to upload and download files. The quickest way to create a React application is to use vite, it allows you to create a simple SPA in seconds.
  • Comic Book App With Marvel API and React
    2 projects | dev.to | 2 Nov 2023
    I started a new React app through Vite by running:

What are some alternatives?

When comparing React and vite you can also consider the following projects:

Next.js - The React Framework

parcel - The zero configuration build tool for the web. 📦🚀

esbuild - An extremely fast bundler for the web

swc - Rust-based platform for the Web

qwik - Instant-loading web apps, without effort

astro - The web framework that scales with you — Build fast content sites, powerful web applications, dynamic server APIs, and everything in-between ⭐️ Star to support our work!

Rollup - Next-generation ES module bundler

Laravel Mix - The power of webpack, distilled for the rest of us.

webpack - A bundler for javascript and friends. Packs many modules into a few bundled assets. Code Splitting allows for loading parts of the application on demand. Through "loaders", modules can be CommonJs, AMD, ES6 modules, CSS, Images, JSON, Coffeescript, LESS, ... and your custom stuff.

SvelteKit - web development, streamlined

turborepo - Incremental bundler and build system optimized for JavaScript and TypeScript, written in Rust – including Turborepo and Turbopack. [Moved to: https://github.com/vercel/turbo]

bun - Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one