0

If in future i need to change the code or some config (which is part of node modules), Is that will be a big headache?

What is the merits and demerits for using create react app?

4
  • If you want to customize the configuration beyond what create-react-app will allow, you can run npm run eject to get access to the underlying Webpack configuration. This is a one way operation, however - you can't go back to create-react-app once you've ejected. Commented May 31, 2017 at 10:33
  • Is that will create any problem in production, if i eject Commented May 31, 2017 at 10:47
  • Your project won't be any different after you eject, it just won't be managed by create-react-app any more. So for example, if the CRA team change how their internal Webpack config works, you'll have to update that manually on your project if you've ejected. See github.com/facebookincubator/… for more info. Commented May 31, 2017 at 10:51
  • I'd recommend avoiding ejecting unless you're 100% certain you need to do something that CRA will not allow you to do. For most projects, just using CRA as is will be fine. Commented May 31, 2017 at 10:52

3 Answers 3

1

You can use create-react-app and rest easily knowing that if you need to do any extra configuration at any point, you can always do npm run eject which will make all of the setup create-react-app does for you fully visible. Read more about it here.

I would suggest making a few applications configuring Webpack and Babel by yourself just to understand what's really going on and the purpose of it, but the convenience create-react-app is worth looking in to.

Sign up to request clarification or add additional context in comments.

Comments

0

The best way is to start from scratch, or you can just create the boilerplate for your modules and reuse them in your apps.

Yes you can use the create-react-app in your project, but it entirely depends upon your project requirement.

Comments

0

Create-react-app is a reliable way to make small projects with zero configuration. if you dont want to rely on that tool, it would be better to create your projects with some configuration(webpack) boilerplate and with time you can customize it to fit your needs.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.