react.dev
vite
react.dev | vite | |
---|---|---|
20 | 792 | |
10,701 | 64,913 | |
1.3% | 1.1% | |
9.5 | 9.9 | |
7 days ago | 4 days ago | |
TypeScript | TypeScript | |
Creative Commons Attribution 4.0 | MIT License |
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.dev
- Is it safe to use __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED?
-
Kind of Annoyed at React
I mentioned this upthread, but the "official" deprecation notice is this comment from Dan Abramov in a GitHub issue: https://github.com/reactjs/react.dev/pull/5487#issuecomment-...
-
If you ever get called out for using long type names, remember this exists
That has resulted in some interesting github questions before although... it's nothing compared to Java
-
Are refs not destroyed on unmount?
I found the docs confusing too. Thanks for the quotes; I went ahead and filed an issue here to hopefully get some clarity: https://github.com/reactjs/react.dev/issues/6123
-
I finally finishes this. Just need someone else to look at it if anyone is willing
Not a huge thing especially if this is used for learning, but create react app is not the best for starting new react apps. I don't think you need to change anything right now here, but he is some context. If you end up starting a new project, I'd recommend VITE
-
What is this cursed hook? "DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_REACT_NODES"
Also see https://github.com/reactjs/react.dev/issues/3896 and various online articles explaining it.
-
Am i ever going to catch up to these changes?!
Then there's this crazy function https://github.com/reactjs/react.dev/issues/3896
-
Moving to Next just because of what happened to CRA?
Here’s a nice (and quite long) discussion about CRA and Vite, and for those who don’t want to read it all, here’s a comment from Dan Abramov regarding why CRA was created, what is it trying to solve, today’s challenges and its future.
-
My 5 favourite updates from the new React documentation
Thank-you for reading, I hope you found this useful! Congratulations to the React team, they have done a great job with the docs. I know they are looking for feedback through their survey and issue tracker, but I’d also love to hear your thoughts on the new docs and let me know what your favourite features are in the comments below 👇
-
How to start a React Project in 2023
I would advise against using create-react-app in 2023. It still lives in the old docs because those won’t be updated, but the new docs have completely removed the recommendation of create-react-app. New Docs Discussion on downsides
vite
-
I Disappear
For the frontend of "I Disappear," I leverage the automated build & deploy system provided by Netlify, which seamlessly integrates with Vite. This setup ensures that every deployment is optimized for performance, utilizing Vite’s modern build tools to enhance speed and efficiency.
-
FlowDiver: The Road to SSR - Part 1
Given our team's collective proficiency within the React ecosystem, we decided to leverage this expertise for our project. Initially, we contemplated utilizing Next.js; however, due to the limited practical experience with this technology among key engineers and the pressing timeline to develop the first prototype, we opted for a Single Page Application(SPA) approach. For bundling, we selected Vite, primarily due to its super fast build times, simplicity of configuration, and potential for a nearly seamless transition to server-side rendering.
-
Inflight Magazine no. 9
We are continuing to add new project templates for various types of projects, and we've recently created one for the infamous combination of React with Vite tooling.
-
Top 12+ Battle-Tested React Boilerplates for 2024
Vite focuses on providing an extremely fast development server and workflow speed in web development. It uses its own ES module imports during development, speeding up the startup time.
-
Vite vs Nextjs: Which one is right for you?
Vite and Next.js are both top 5 modern development framework right now. They are both great depending on your use case so we’ll discuss 4 areas: Architecture, main features, developer experience and production readiness. After learning about these we’ll have a better idea of which one is best for your project.
-
Setup React Typescript with Vite & ESLint
import { defineConfig } from 'vite' import react from '@vitejs/plugin-react-swc' import path from 'path' // https://vitejs.dev/config/ export default defineConfig({ plugins: [react()], server: { port: 3000 }, css: { devSourcemap: true }, resolve: { alias: { '~': path.resolve(__dirname, './src') } } })
-
Approaches to Styling React Components, Best Use Cases
I am currently utilizing Vite:
-
Getting started with TiniJS framework
Homepage: https://vitejs.dev/
-
Use CSS Variables to style react components on demand
Without any adding any dependencies you can connect react props to raw css at runtime with nothing but css variables (aka "custom properties"). If you add CSS modules on top you don't have to worry about affecting the global scope so components created in this way can be truly modular and transferrable. I use this with vite.
-
RubyJS-Vite
Little confused as to why it has vite in it‘s name, it seems unrelated to https://vitejs.dev/
What are some alternatives?
react-proto - Template React project with full TypeScript and SSR support.
Next.js - The React Framework
is-land - A new performance-focused way to add interactive client-side components to your web site.
parcel - The zero configuration build tool for the web. 📦🚀
craco - Create React App Configuration Override, an easy and comprehensible configuration layer for Create React App.
esbuild - An extremely fast bundler for the web
Fruity_Dance_Sprite_Sheet_Generator - An Editor & Generator for the Fruity Dance plugin
swc - Rust-based platform for the Web
madatdata - 😠 📈 Madatdata ("mad at data") is a TypeScript library for managing and querying SQL databases (so far including Seafowl and Splitgraph, but with an interface that makes it easy to add plugins for other databases).
astro - The web framework for content-driven websites. ⭐️ Star to support our work!
AspectJ
Rollup - Next-generation ES module bundler