Its time to retire the CRA
Tags: cra, react, javascript, ajayff4
Published: 2022-02-14 21:03:03

Hi there, I am Ajay and, this is my 1st post on this platform. So mistakes are expected. Pardon me for that and guide me through.

[Check this out what we will discuss today](https://github.com/Ajayff4/hello-world)

Let's dive into the topic of today's discussion. I usually like to work with the MERN stack for web apps. Recently I noticed that now CRA (create-react-app) is making the build too slow and, it takes ages to start the project.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2ox0hkxizq3xm0z9de4e.gif)

This encouraged me to get out of bed and look for some alternatives and I started to look for the resource to create the react app from the scratch.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/862pr4po5424ri5o4oh0.jpg)

I decided to meet the almighty YouTube. After looking into some of the YouTube videos I found that they are making the project from the scratch, but it is not something which I was looking for. Which made me feel like...

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/f5wouxwsfjho7rrlkdn0.gif)

So I decided to look more on articles until I finally found something useful which helped me to actually creates the entire project from the scratch.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xqxzemf92j8z5dj1pgxx.jpg)

Which helped me to create this hello-world project by configuring everything by myself. Which includes...

- Configuring webpack
- Creating the project structure
- Creating the distributable production build
- Support to compile css/scss/sass files along with React components to make the project complete.


## RESULT TIME

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8m7m2gtpjb0k98hdti57.png)

**This project is the simple hello world project that does nothing just greets you, coz it's up to you what you transform it into. It also supports HMR aka Hot Module Replacement via devServer.** 

As we can see, manual configuration adds less than half dependencies to the project which, is what we need to extend our projects in actual scenarios and, it isn't much possible with CRA due to having so many dependencies pre-configured.

CRA adds many dependencies which are not required for most of the users on their projects but they cannot remove them easily, which is painful to carry over as the project grows.

## ADVATAGES OF USING THIS PROJECT...

- Very fewer dependencies lightweight and, lightning-fast app, runs under 3 seconds.
- Includes all aspects of development JS, CSS, Testing, Production build.
- You can contribute to this project to make it more useful for everyone who wants to work on React but is tired due to CRA.

## REFERENCE TIME
[Check this article for step-by-step explaination on how this project is made](https://levelup.gitconnected.com/freedom-from-create-react-app-how-to-create-react-apps-without-cra-27fadeb79c82)

If you like this project, please let me know your thoughts.
If you are willing to contribute to this, please give me a knock on any of these platforms...

[Insta](https://www.instagram.com/ajayff4/) - [Twitter](https://twitter.com/Ajayff4) - [Linkedin](https://www.linkedin.com/in/ajayff4/)

See yaa until we meet next!!!
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1ne6nrf214y5dlnizkiw.png)