Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Setup ReactJS environment

I am new on ReactJS and learning from scratch. I see some using babel and some are webpack to configure as well some use yarn package manager. So can you suggest me which is better to work with react.

I just curious about configuring reactJS environment thorugh which bundle or package manager?

like image 297
Kumar Avatar asked Apr 17 '26 21:04

Kumar


1 Answers

babel is a transpiler, webpack is a bundler and yarn (or npm) is a package manager. These tools are for different purposes. And usually we use all of them together.

React has a very handy tool called Create React App. With this tool you don't need to configure babel and webpack by yourself so you can start to learn React easily.

like image 67
CodinCat Avatar answered Apr 19 '26 09:04

CodinCat



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!