Why Create React App not in react new documentation


Create React App (CRA) is a popular tool used by many developers to quickly set up a new React project with minimal configuration. However, some developers have noticed that it is no longer included in the new React documentation. In this blog post, we will explore why this is the case and what alternatives exist for starting a new React project.
Firstly, it's important to understand that Create React App is not an official React tool, but rather a community-driven project. The React team at Facebook provides a comprehensive set of documentation for using React, but they do not provide or maintain Create React App. This means that the React team cannot guarantee the stability, security, or compatibility of Create React App with future versions of React.
Furthermore, Create React App was originally created as a way to quickly set up a React project with a specific set of tools and dependencies. While this is great for getting started quickly, it also means that developers are limited to the choices made by the creators of Create React App. This may not always align with the needs of individual projects or the latest best practices.
As React has evolved, the recommended way to create a new React project has also changed. The React team now recommends using the npx
command to create a new project using the create-react-app
package. This package is maintained by the same team that created Create React App, but it allows for more flexibility and customization. For example, developers can specify which testing library or CSS preprocessor to use.
In addition to create-react-app
, there are also other tools available for starting a new React project. For example, developers can use webpack
and babel
to set up a React project from scratch, which provides even more control over the project setup.
In summary, the React team does not include Create React App in their new documentation because it is not an official React tool and may not be compatible with future versions of React. Instead, they recommend using the create-react-app
package or setting up a project from scratch using webpack
and babel
. By providing more flexibility and customization, these options allow developers to create React projects that align with their specific needs and best practices.