Photo by Fili Santillán on Unsplash
1. Create React App builds your entire app into one file
While this is super convenient for the beginner this leads to problems later in the development process such as,
- Slower loading speeds
- No ability for staging production builds
Hard to configure if you dislike the default configuration
Photo by Clint Patterson on Unsplash
2. Create React App’s Competition
There is no secret that the front-end framework space has become saturated with what seems like a new framework or new language coming out every six months and the new fad taking over the space. It’s even harder to learn new languages and stay up to date with these new technologies. This forces large companies when building new software to choose their dependencies wisely and as new React frameworks have become funneling in, they stick with very consistent LTS frameworks that play nicely, and Create React App is not one of them. React has become one of if not the most popular front-end open source frameworks and has been used by companies such as Facebook, Uber, Airbnb, Shopify, Pinterest, and Netflix. And while most of the time the frameworks these big companies use are custom-made for their needs and specifications, some of the best open source projects are still available for use.
Photo by Florian Krumm on Unsplash
Next.js is a production-level development bundle made by Vercel that adds incredibly useful rendering options for all your development needs such as the classic CSR that we previously discussed, SSR, and lots of hybrid options to help with any other needs. There is minimal abstraction within Next.js, allowing you to see and modify the existing processes directly. Including an API and pages section that allows the development to be quick, simple, and (mostly) easy to follow. If a beginner was going to ask what the best framework to start out with is, I would recommend Next.js as the best next step. Feel free to go more in-depth on their website and demos to get a better idea of what they offer.
All in all, I enjoy working with all versions of React. From beginning with Create React App and moving to bigger projects like Next.js and Gatbsy, my love for development has stayed the same. If you are a beginner I would recommend that you skip the loading and learning phases with Create React App and learn the ropes with Gatsby and Next.js. The experience you gain learning something on your own is priceless.