+ 3

How to create react js app without using create react app pkg ?

30th Jul 2020, 2:19 PM
Programmer Raja
Programmer Raja - avatar
3 Answers
+ 4
Programmer Raja (ą®¤ą®®ą®æą®“ą®©ąÆ) We don't necessary need to use commands like create react app or webpack to create react app. In fact, from react official getting started webpage, it shows a very simple way to make react app by linking js scripts, react-development.js and react-dom-development.js; and write react from Babel script. Check out this article,Add React in One Minute https://reactjs.org/docs/add-react-to-a-website.html#add-react-in-one-minute. You can also find many react examples from code playground using this methods. For production deploy, we would use production script, react-production.js and react-dom-production.js, and compile the babel codes to JavaScript codes for optimum performance.
31st Jul 2020, 12:37 PM
CalviÕ²
CalviÕ² - avatar
+ 3
well it is a tedious task, u got to create own webpack config for it, then install all required loaders for es6, css loader babel loader and css loaders.. and then install react pkg but create-react-app does this for us under the hood.. Alternate options could be you can use NextJs, or GatsbyJs
30th Jul 2020, 2:29 PM
ŠœŠ³. ŠšŠ½Š°ŠæšŸŒ 
ŠœŠ³. ŠšŠ½Š°ŠæšŸŒ  - avatar
+ 2
https://youtu.be/deyxI-6C2u4 Well, explained by Brad traversy.
30th Jul 2020, 3:33 PM
šŸ‡®šŸ‡³VivekšŸ‡®šŸ‡³
šŸ‡®šŸ‡³VivekšŸ‡®šŸ‡³ - avatar