How to create react js app without using create react app pkg ? | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
+ 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 Respuestas
+ 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