Create A React App Without Create-React-App

  Рет қаралды 30,324

PedroTech

PedroTech

Күн бұрын

Пікірлер: 77
@adarsh-chakraborty
@adarsh-chakraborty 2 жыл бұрын
Now i appreciate CRA even more 😐
@weirddev
@weirddev 2 жыл бұрын
Start using vite, you will hate cra more
@weirddev
@weirddev 2 жыл бұрын
@Sadik.H no 😐
@mohanrajmuthukumaran8513
@mohanrajmuthukumaran8513 2 жыл бұрын
CRA will also left u with some vulnerable packages too 🙃
@belvss896
@belvss896 Жыл бұрын
Don't use CRA.
@sahilyadav3782
@sahilyadav3782 Жыл бұрын
@@weirddev I'm really confused why do we not see Vite nearly as much as CRA, like, it's pretty simple and so much faster
@882caio
@882caio 2 жыл бұрын
Fala Pedrão!!! Excelente vídeo continua assim que seu canal vai crescer cada vez mais (Tenho certeza que você é BR).
@PedroTechnologies
@PedroTechnologies 2 жыл бұрын
Obrigado Caio! Sou br sim kkkkkk
@mikaio
@mikaio 2 жыл бұрын
Preciso em
@ninel-valentin
@ninel-valentin 2 жыл бұрын
Google sent me to your video. It helped a lot. Even as a begginer I have understood everything and I loved it! It is right what I needed for my project! Cheers!
@pgtips4240
@pgtips4240 Жыл бұрын
I have done several tutorials on React and a lot of them fail for different reasons but his one has worked completely. I feel I have learned a tonne about how react hangs together. Also having the source on git helps immensely. The only thing I had to do differently was in the webpack.config.js I had to also set entry: "./src/index.js" as it wasn't finding the index.js file. I don't know why it was different for you?
@anshumanxda
@anshumanxda 2 жыл бұрын
I did without create react app, i did with vite🤣
@edward-soli
@edward-soli 8 ай бұрын
Keep it up buddy😂😂😂
@JD-sn1lr
@JD-sn1lr 2 жыл бұрын
When I ran the app, I got an error "Can't resolve './index.js' in C:\Development\React eact-from-scratch". I modified the webpack.config.js entry: "./index.js" to entry: "./src/index.js" and that fixed the error.
@cortarelva
@cortarelva 2 жыл бұрын
"The thing that takes the most amount of time is understanding everything"! Aint that true!
@gooddogreallygooddog6157
@gooddogreallygooddog6157 2 жыл бұрын
i have been searching for this exact video for the past week
@samueltadesse2158
@samueltadesse2158 2 жыл бұрын
Thank you so much CRA was not working for me for a week no matter what i did. truly a godsend.
@KryptechOfficial
@KryptechOfficial Жыл бұрын
Thanks a lot!! But it seems like you forgot to add all of the Babel-related packages into the description like you said you would, so that would be a great addition!
@nehat786
@nehat786 2 жыл бұрын
I was confused with this but you clear it out everything. Thanks
@zaidali1107
@zaidali1107 2 жыл бұрын
Brilliantly explained 🔥
@PedroTechnologies
@PedroTechnologies 2 жыл бұрын
Thank you 🙌
@L8rCloud
@L8rCloud 2 жыл бұрын
In your “rules:” your RegEx statement only tests for the .js OR .jsx extension YET you also have the .json and .tx extensions listed. Shouldn’t they ALSO be added to your RegEx statement for testing…?
@AllNaturale11
@AllNaturale11 Жыл бұрын
This isnt working for me. When i run npm build I get an error in ./src/index.js and that the module build failed. I also have an error that says ./index.js cant but resolved. What can I do to fix it?
@mirkafarkasova2425
@mirkafarkasova2425 6 ай бұрын
Great video man, as always. I am just having some issues. Like for example, the console is flooded with Source map errors. Any idea why?
@anithadharaneedharan6758
@anithadharaneedharan6758 7 ай бұрын
Thanks a tonne for the video, saved my day
@djoezi3662
@djoezi3662 2 жыл бұрын
Amazing! Thanks a lot man, you are doing best!
@mohammed.haydar
@mohammed.haydar 2 жыл бұрын
Would love to know how u got auto-completion in your bash terminal?
@PedroTechnologies
@PedroTechnologies 2 жыл бұрын
Fig ! Great software
@CoderDmitri
@CoderDmitri Жыл бұрын
ty so much for this, you are a legend!
@edwardhandrich6043
@edwardhandrich6043 2 жыл бұрын
I wish I could like this video twice. I have a new interview question, "can you create a react app, without running create-react-app?'
@sashaikevich
@sashaikevich 2 жыл бұрын
I'm happy to follow you along, but where do you get your info? ( I'm thinking for when one of the packages ultimately changes, where can I get the latest presets config, without hoping you'll post a timely video) Thanks!
@PedroTechnologies
@PedroTechnologies 2 жыл бұрын
I follow the react team on twitter and I always check the react subreddit!
@sashaikevich
@sashaikevich 2 жыл бұрын
@@PedroTechnologies gotcha, thanks. See you on teh subreddits then!
@valeriousmonk654
@valeriousmonk654 2 жыл бұрын
Great video! Thank you! Interesting to see same with snowpack ))
@dmytronice1337
@dmytronice1337 2 жыл бұрын
Starting from React 17, you don't need to Import React for using JSX syntax in files. So how we can do it with webpack ?
@WitOfGray
@WitOfGray 2 жыл бұрын
God bless you fam❤️🔥
@siddheshshirawale4575
@siddheshshirawale4575 2 жыл бұрын
I like your videos. Your videos are very helpful. If possible make video on next js + rich text editor .
@CoderDmitri
@CoderDmitri Жыл бұрын
I was getting CAN NOT resolve MAIN.js error, I solved it with modifying MAIN.JS path in webpack.config.js, so it is now: filename: "./public/main.js", as oppose to "main.js" ... it works now
@kalahari8295
@kalahari8295 2 жыл бұрын
Finally 😌❤️🔥
@Messi2Inno
@Messi2Inno 2 жыл бұрын
Hey! Pedro, you mind doing a video with golang as backend and react as frontend with SQL database??
@aleatennu383
@aleatennu383 2 жыл бұрын
Is it possible to reuse all this in another react project?
@bopon4090
@bopon4090 2 жыл бұрын
This is the best way to learn webpack.
@rmaheshchalke
@rmaheshchalke 2 жыл бұрын
@PedroTech I am not able to run your project, it showing error e.g. 'webpack-dev-server' is not recognized as an internal or external command,
@rmaheshchalke
@rmaheshchalke 2 жыл бұрын
Sorry, i have deleted existing node modules folder and i have installed again and it is started working but still with react 18.2.0 it is not working, is there any other solution?
@MrFuma-fr8no
@MrFuma-fr8no 2 жыл бұрын
Hey PedoTech, love your channel. Your React Router video is *chef's kiss*. I have been scouring the web for this answer but to no avail. In React, should I use js or jsx at the file extension? Is there any difference to it? I would love your input! Obrigado!
@PedroTechnologies
@PedroTechnologies 2 жыл бұрын
Thank you! There is no difference between them! It is purely for organization. In my prev company they used jsx for react components and js for normal files
@MrFuma-fr8no
@MrFuma-fr8no 2 жыл бұрын
@@PedroTechnologies Thank you! I am a beginner in Web Dev. When you say normal files, are we talking about JS files with only regular JS in it? And as soon as you mix HTML and JS it should be jsx, right?
@theawes0me0ne
@theawes0me0ne 2 жыл бұрын
@@MrFuma-fr8no ive seen people do exactly this yes
@internetexplorer7880
@internetexplorer7880 2 жыл бұрын
When you suffix your files with .jsx, you get autocompletion for html tags which you don't get when you suffix it with .js
@TarekFaham
@TarekFaham 2 жыл бұрын
Fantastic tutorial! How you can develop parts of the application features using this method and integrate it with an existing application that is based on angularjs? For example, there are a lot of forns which are build using a designer of some kind. I can insert an HTML component and add the script tag to reference the script main.js. But how to render the correct section when the specific form is active?
@zlatkoiliev8927
@zlatkoiliev8927 2 жыл бұрын
Please create one tutorial with typescript and styled components! Please! :)
@lucasa8710
@lucasa8710 2 жыл бұрын
parabens mano, pelo vídeo e pelo seu ingles, muito bom
@ThColinPereira
@ThColinPereira 2 жыл бұрын
This is so cool!
@efemenaekagha3406
@efemenaekagha3406 2 жыл бұрын
I ran into an error saying field browser doesn't contain an alias configuration
@daniel7007
@daniel7007 2 жыл бұрын
GReat video! Bro where did u find all buble dependencies?
@timothydoan2
@timothydoan2 2 жыл бұрын
Please make a vid on real time chat app with react and firebase. Like a discord clone.
@CoderDmitri
@CoderDmitri Жыл бұрын
also, you need to do: npm i react react-dom --save-dev to install react, otherwise does NOT work
@azumatomlinson3474
@azumatomlinson3474 2 жыл бұрын
my css didn't work properly, I had to add this under rules in webpack.config.js { test: /\.css$/i, use: ["style-loader", "css-loader"], }, and also install these dependencies: npm install --save-dev style-loader css-loader
@imchiennb
@imchiennb 2 жыл бұрын
How to make powershell auto-suggestion like this?
@SaptarshiMajumdar
@SaptarshiMajumdar Жыл бұрын
Great video but how do I incorporate CSS files?
@shashwattulsyan8522
@shashwattulsyan8522 2 жыл бұрын
can you please make a separate tutorial for how to store fields and files in mongdb(MERN).
@devstuff92
@devstuff92 2 жыл бұрын
New sub, love your videos already! Can you make a tutorial on how we can implement audio sound effects(for example onclick or any other events) using react? I would appreciate it
@wziro65
@wziro65 2 жыл бұрын
thanks man!
@contrav8349
@contrav8349 Жыл бұрын
i want to know the commands in windows
@hichamabh6280
@hichamabh6280 Жыл бұрын
this is better than cra, cause is more understandable
@ahmadgazzz
@ahmadgazzz 9 ай бұрын
Now create a react app without using react
@k4qdex
@k4qdex 2 жыл бұрын
you forgot to include react refresh...
@imonw3b
@imonw3b 2 жыл бұрын
I think, you forgot to add .gitignore and put /node_modules so it won't be push on github. Anyway, good tutorial!
@faris.abuali
@faris.abuali 2 жыл бұрын
🤦🏻😢 Thanks Pedro!
@Katoph
@Katoph 2 жыл бұрын
Let’s go
@randerins
@randerins 2 жыл бұрын
Transcendeu 🤯
@Quand101
@Quand101 2 жыл бұрын
Cool
@nimitindrasoni
@nimitindrasoni Жыл бұрын
showint error :( \learnings eact-corpsite ode_modules\webpack-dev-server\lib\servers\WebsocketServer.js:10 static heartbeatInterval = 1000; npm ERR! code ELIFECYCLE npm ERR! errno 2 npm ERR! react-corpsite@1.0.0 start: `webpack-dev-server .` npm ERR! Exit status 2 npm ERR! npm ERR! Failed at the react-corpsite@1.0.0 start script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in:
@coffee-is-power
@coffee-is-power Жыл бұрын
Don't use cra, it's outdated, use vite instead, it's much faster and has much better DX
@chukasin
@chukasin Жыл бұрын
How
Create a React App WITHOUT Create React App
26:21
WittCode
Рет қаралды 55 М.
React Hooks Course - All React Hooks Explained
1:26:21
PedroTech
Рет қаралды 1,1 МЛН
How Much Tape To Stop A Lamborghini?
00:15
MrBeast
Рет қаралды 130 МЛН
Trick-or-Treating in a Rush. Part 2
00:37
Daniel LaBelle
Рет қаралды 44 МЛН
бабл ти гель для душа // Eva mash
01:00
EVA mash
Рет қаралды 8 МЛН
Человек паук уже не тот
00:32
Miracle
Рет қаралды 4 МЛН
7 better ways to create a React app
7:08
Fireship
Рет қаралды 559 М.
Create a React App Without Using npx create react app command
23:08
Code Explained
Рет қаралды 2,9 М.
Stop Using Create React App
10:22
Web Dev Simplified
Рет қаралды 338 М.
How To Learn React In 2024 - React Roadmap
20:51
PedroTech
Рет қаралды 11 М.
The Most Important Design Pattern in React
35:04
Cosden Solutions
Рет қаралды 99 М.
What is React.js? Get started with React using Vite
18:22
Sam Meech-Ward
Рет қаралды 22 М.
Testing In React Tutorial - Jest and React Testing Library
21:28
Vite is The New Webpack and Create-React-App killer!
18:06
CoderOne
Рет қаралды 47 М.
How to use TypeScript with React... But should you?
6:36
Fireship
Рет қаралды 938 М.
How Much Tape To Stop A Lamborghini?
00:15
MrBeast
Рет қаралды 130 МЛН