create-react-app
react-app-rewired

create-react-app | react-app-rewired | |
---|---|---|
599 | 10 | |
103,091 | 9,858 | |
0.1% | 0.1% | |
6.5 | 0.0 | |
18 days ago | 3 months ago | |
JavaScript | JavaScript | |
MIT License | 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.
create-react-app
-
Sunsetting Create React App
Pleased to say I had a meaningful hand in this :) As some background, this finally happened because:
- React 19 broke CRA
- I griped about it loudly on Bluesky (https://bsky.app/profile/acemarke.dev/post/3lggg6pk7g22o) and that started a long debate
- I filed an umbrella issue describing the specific breakage and recommending an actual official deprecation announcement (https://github.com/facebook/create-react-app/issues/17004)
- The React team finally took action to fix the CRA breakage, then wrote the blog post, updated the setup docs page, and redid the docs SEO to get Google to stop showing the legacy docs as a search result.
So, kudos to the React team for making meaningful changes here!
(It's not _exactly_ what I was hoping for, and I gave them some additional review feedback that they didn't include, but gotta give credit for the actual changes and steps forward!)
- Create React App is now deprecated
- Meta's create-react-app unofficially officially deprecated
-
The Future of Htmx
Create React App should not be used because it is no longer maintained. Here is its GitHub repro: https://github.com/facebook/create-react-app/commits/main/ . It has had very few updates since July 2022. This is bad because it needs constant updates because it depends on a large number of packages and those packages are constantly releasing security updates.
-
Design to Demo: Accelerating App Development with AI Tooling
Not so fast, though. V0 uses shadcn, which isn’t fully compatible with Create React App.
-
Is React as hard/complex as it sounds?
Don’t use Create React App: It’s outdated, slow, and lacks extensibility.
-
Retro Games React App
The application was created with Create React App, a JavaScript library for building user interfaces. I separated the different moving parts of the application and put them into the following React components.
-
From Local to Live: How to Deploy Your React Application using Netlify.
1. Run a Final Test: Make sure your app works as expected locally by running: npm run dev If it was created with Vite. npm run start If it was created with Create-React-App.
-
Micro-libraries need to die already
This is just a discourse based on "I need to churn out something, I need that fast and I didn't start in the web game when Backbone and E4X were a solid corporate choice". If you are not in a hurry, work in a solid team and have a good attention span, a lot of clickbait idiocy around JS may not happen.
I'm presenting you one of countless examples: a lot of coding bootcamps teach React, maybe with TS, maybe with JS.
Enter react-create-app.
https://github.com/facebook/create-react-app
The docs are a link, while the commands you paste are laid out at 9th row in the README. That will become a habit for a junior.
-
Build a landing page using a react template
In this exercise, you will customize your own landing page using the beautiful Landy template. Landy template is built on top of Create React App.
react-app-rewired
-
html-loader not working
Further information here: https://github.com/timarney/react-app-rewired
-
Build a web editor with react-monaco-editor
Ejecting a React app is a bad idea because our application will lose all the React configurations and will not benefit from the CRA updates. Some solutions for ejecting our application include using packages like react-app-rewired or rewire. You can also use CRACO to eject your React application, but it needs you to install additional plugins.
-
Chrome Extension with React
When created I remove react-script package and copies build dependencies, configuration files and scripts into the app directory. It is needed to modify webpack.config file. (Another solution is to use react-app-rewired
-
Accepting Crypto Payments in a Classic Commerce App
Heads up: CRA5 bumped their webpack dependency to a version that no longer supports node polyfills in browsers. This breaks the builds of nearly all Ethereum-related projects today. A common workaround that avoids ejecting is to hook into the CRA build process. We’re using react-app-rewired but you could simply stay at CRA4 until the community comes up with a better solution.
-
Using Webpack with ReactJS
CRA is good to get something running quick (and it uses webpack underneat!). In the past I've tweaked the webpack config using things like https://github.com/timarney/react-app-rewired when needed, but for all my "serious" projects I ended up ejecting and learning webpack! For my next project I'll try to skip CRA altogether!
-
Simplest Way to Install Babel Plugins in Create React App
// Overrides create-react-app webpack configs without ejecting // https://github.com/timarney/react-app-rewired const { addBabelPlugins, override } = require("customize-cra"); module.exports = override( ...addBabelPlugins( "babel-plugin-myPlugin" /* Add plug-in names here (separate each value by a comma) */ ) );
-
Running React Native everywhere: The Web
If Create React App supported Yarn workspaces out-of-the-box, what we've done so far would have been enough to run the app... unfortunately, it doesn't. Luckily, we can use CRACO (or other tools such as customize-cra or react-app-rewired) to customize the Webpack configuration used by Create React App to resolve packages imported from other workspaces.
-
Integrating YoastSEO.js word analyzer web worker in Reactjs
<--- JS stacktrace ---> FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory 1: 00007FF69616B9CF v8::internal::CodeObjectRegistry::~CodeObjectRegistry+112159 2: 00007FF6960FCA26 v8::internal::MicrotaskQueue::GetMicrotasksScopeDepth+65430 3: 00007FF6960FD90D node::OnFatalError+301 4: 00007FF696A91BAE v8::Isolate::ReportExternalAllocationLimitReached+94 5: 00007FF696A783AD v8::SharedArrayBuffer::Externalize+78 [1]: https://github.com/timarney/react-app-rewired
-
Enhancing Chrome Extension developer experience with CRA (create-react-app)
Enter react-app-rewired. What this package does is it allows you to hook into the Webpack config process so you can change settings, add loaders or plugins, and so on. It's like having all the pros of ejecting (mainly, access to the webpack.config.js) without actually ejecting.
-
Fullstack GraphQL starter kit Mid-2021 update
Switch to craco from react-app-rewired for better CRA v4 support (breaking change!)
What are some alternatives?
react-boilerplate - 🔥 A highly scalable, offline-first foundation with the best developer experience and a focus on performance and best practices.
craco - Create React App Configuration Override, an easy and comprehensible configuration layer for Create React App.
nwb - A toolkit for React, Preact, Inferno & vanilla JS apps, React libraries and other npm modules for the web, with no configuration (until you need it)
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.
electron-react-boilerplate - A Foundation for Scalable Cross-Platform Apps
expo-cli - Tools for creating, running, and deploying universal Expo and React Native apps
vite - Next generation frontend tooling. It's fast!
nx - Build system, optimized for monorepos, with plugins for popular frameworks and tools and advanced CI capabilities including caching and distribution.
home-automation-ui - Home Automation Web Application UI built using ReactJS
vue-cli - 🛠️ webpack-based tooling for Vue.js Development
create-react-extension - Set up a modern React browser extension by running one command.
