Is React's project built on scaffolding or on its own?

problem description

1, the company"s project, want to use React, but the use of scaffolding is good? Or is it better to build it yourself with webpack+React+es6?
2. As for the difference between the two, my understanding is that scaffolding makes it easy for users to build projects quickly, so there should be no other difference. I wonder if this understanding is correct?

the environmental background of the problems and what methods you have tried

React"s official website says that React scaffolding is based on webpack+es6, and webpack+es6+react,
, but it is found that in the projects built by the two, there is no configuration file for webpack in the former, while there is in the latter.
Baidu said that scaffolding hides the configuration files of webpack. All configuration files can be exposed with npm run eject, but the operation is irreversible

what result do you expect? What is the error message actually seen?

I have just learned React. Please give me some advice to see if my understanding is correct. If not, please give me some advice. Thank you in advance.

Apr.03,2021

eject you can view the configuration.

see if the scaffolding can meet your needs. If you can't meet all your requirements, of course you have to modify or add

.

your understanding is correct.

it's hard to say about what to use.

if the company has a scaffolding system, it is recommended to use the company's scaffolding system, which can ensure the unity of the style of each business line.
if not, try to refer to what the company already has. If the company's existing one is relatively old or has no reference value, it is recommended to write or use scaffolding.

my suggestion is to use the official scaffolding and then make some changes to meet the business needs.

Menu