CRA will also left u with some vulnerable packages too 🙃
@belvss896 Жыл бұрын
Don't use CRA.
@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
@882caio2 жыл бұрын
Fala Pedrão!!! Excelente vídeo continua assim que seu canal vai crescer cada vez mais (Tenho certeza que você é BR).
@PedroTechnologies2 жыл бұрын
Obrigado Caio! Sou br sim kkkkkk
@mikaio2 жыл бұрын
Preciso em
@ninel-valentin2 жыл бұрын
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 Жыл бұрын
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?
@anshumanxda2 жыл бұрын
I did without create react app, i did with vite🤣
@edward-soli8 ай бұрын
Keep it up buddy😂😂😂
@JD-sn1lr2 жыл бұрын
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.
@cortarelva2 жыл бұрын
"The thing that takes the most amount of time is understanding everything"! Aint that true!
@gooddogreallygooddog61572 жыл бұрын
i have been searching for this exact video for the past week
@samueltadesse21582 жыл бұрын
Thank you so much CRA was not working for me for a week no matter what i did. truly a godsend.
@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!
@nehat7862 жыл бұрын
I was confused with this but you clear it out everything. Thanks
@zaidali11072 жыл бұрын
Brilliantly explained 🔥
@PedroTechnologies2 жыл бұрын
Thank you 🙌
@L8rCloud2 жыл бұрын
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 Жыл бұрын
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?
@mirkafarkasova24256 ай бұрын
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?
@anithadharaneedharan67587 ай бұрын
Thanks a tonne for the video, saved my day
@djoezi36622 жыл бұрын
Amazing! Thanks a lot man, you are doing best!
@mohammed.haydar2 жыл бұрын
Would love to know how u got auto-completion in your bash terminal?
@PedroTechnologies2 жыл бұрын
Fig ! Great software
@CoderDmitri Жыл бұрын
ty so much for this, you are a legend!
@edwardhandrich60432 жыл бұрын
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?'
@sashaikevich2 жыл бұрын
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!
@PedroTechnologies2 жыл бұрын
I follow the react team on twitter and I always check the react subreddit!
@sashaikevich2 жыл бұрын
@@PedroTechnologies gotcha, thanks. See you on teh subreddits then!
@valeriousmonk6542 жыл бұрын
Great video! Thank you! Interesting to see same with snowpack ))
@dmytronice13372 жыл бұрын
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 ?
@WitOfGray2 жыл бұрын
God bless you fam❤️🔥
@siddheshshirawale45752 жыл бұрын
I like your videos. Your videos are very helpful. If possible make video on next js + rich text editor .
@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
@kalahari82952 жыл бұрын
Finally 😌❤️🔥
@Messi2Inno2 жыл бұрын
Hey! Pedro, you mind doing a video with golang as backend and react as frontend with SQL database??
@aleatennu3832 жыл бұрын
Is it possible to reuse all this in another react project?
@bopon40902 жыл бұрын
This is the best way to learn webpack.
@rmaheshchalke2 жыл бұрын
@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,
@rmaheshchalke2 жыл бұрын
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-fr8no2 жыл бұрын
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!
@PedroTechnologies2 жыл бұрын
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-fr8no2 жыл бұрын
@@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?
@theawes0me0ne2 жыл бұрын
@@MrFuma-fr8no ive seen people do exactly this yes
@internetexplorer78802 жыл бұрын
When you suffix your files with .jsx, you get autocompletion for html tags which you don't get when you suffix it with .js
@TarekFaham2 жыл бұрын
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?
@zlatkoiliev89272 жыл бұрын
Please create one tutorial with typescript and styled components! Please! :)
@lucasa87102 жыл бұрын
parabens mano, pelo vídeo e pelo seu ingles, muito bom
@ThColinPereira2 жыл бұрын
This is so cool!
@efemenaekagha34062 жыл бұрын
I ran into an error saying field browser doesn't contain an alias configuration
@daniel70072 жыл бұрын
GReat video! Bro where did u find all buble dependencies?
@timothydoan22 жыл бұрын
Please make a vid on real time chat app with react and firebase. Like a discord clone.
@CoderDmitri Жыл бұрын
also, you need to do: npm i react react-dom --save-dev to install react, otherwise does NOT work
@azumatomlinson34742 жыл бұрын
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
@imchiennb2 жыл бұрын
How to make powershell auto-suggestion like this?
@SaptarshiMajumdar Жыл бұрын
Great video but how do I incorporate CSS files?
@shashwattulsyan85222 жыл бұрын
can you please make a separate tutorial for how to store fields and files in mongdb(MERN).
@devstuff922 жыл бұрын
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
@wziro652 жыл бұрын
thanks man!
@contrav8349 Жыл бұрын
i want to know the commands in windows
@hichamabh6280 Жыл бұрын
this is better than cra, cause is more understandable
@ahmadgazzz9 ай бұрын
Now create a react app without using react
@k4qdex2 жыл бұрын
you forgot to include react refresh...
@imonw3b2 жыл бұрын
I think, you forgot to add .gitignore and put /node_modules so it won't be push on github. Anyway, good tutorial!
@faris.abuali2 жыл бұрын
🤦🏻😢 Thanks Pedro!
@Katoph2 жыл бұрын
Let’s go
@randerins2 жыл бұрын
Transcendeu 🤯
@Quand1012 жыл бұрын
Cool
@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 Жыл бұрын
Don't use cra, it's outdated, use vite instead, it's much faster and has much better DX