Skip to main content

Command Palette

Search for a command to run...

๐•๐ข๐ญ๐ž vs ๐‚๐ซ๐ž๐š๐ญ๐ž ๐‘๐ž๐š๐œ๐ญ ๐€๐ฉ๐ฉ (CRA) - Choosing the right tool for your React.js Project

Published
โ€ข1 min read
๐•๐ข๐ญ๐ž vs ๐‚๐ซ๐ž๐š๐ญ๐ž ๐‘๐ž๐š๐œ๐ญ ๐€๐ฉ๐ฉ (CRA) - Choosing the right tool for your React.js Project
P

I am a Full-stack MERN engineer with a product centric approach, specializing in the design and development of scalable, reliable, production ready web application, I bring expertise in JavaScript, React, and Node Js. Get in touch! paulparveen01@gmail.com

Both are powerfull tool to create react application and each is having there own advantages.

๐‚๐ซ๐ž๐š๐ญ๐ž ๐‘๐ž๐š๐œ๐ญ ๐€๐ฉ๐ฉ (๐‚๐‘๐€) - It is a tool to setup new react project with zero configuration. It provides inbuilt/pre-configured environment including ๐ฐ๐ž๐›๐ฉ๐š๐œ๐ค, Babel, ESLint. It will allows developers to focus on writing code rather than dealing with complex build configurations. It will create bundle by including all source code (Bundle size matters on react apps load time).

๐•๐ข๐ญ๐ž - It is a new tool designed with speed in mind. You have flexibility to customize every configuration in ๐ฏ๐ข๐ญ๐ž itself (no ๐ฐ๐ž๐›๐ฉ๐š๐œ๐ค needed). It leverages modern browser Es6 features and enhance react build. It generates production builds with tree shaking and code splitting resulting in smaller bundle size and improved performance. It will create bundle for the default/home route and call another route bundle only when its needed.

๐–๐ก๐ข๐œ๐ก ๐จ๐ง๐ž ๐ญ๐จ ๐œ๐ก๐จ๐จ๐ฌ๐ž -

Use ๐‚๐‘๐€ if you need zero configuration setup and don't have specific performance requirement.

Use ๐•๐ข๐ญ๐ž if you have big project where speed and performance matters alot. You want control on configuration system.

More from this blog

P

Parveen Kumar

15 posts

I am a Full-stack MERN engineer with a product centric approach, specializing in the design and development of scalable, reliable, production ready web application.