React TypeScript Webpack - Setup From Scratch (1/8)

  Рет қаралды 100,099

Codevolution

Codevolution

Күн бұрын

Пікірлер
@Codevolution
@Codevolution 3 жыл бұрын
Give Taskade a try - www.taskade.com/ Request for 1 year free upgrade by mentioning Codevolution - www.taskade.com/contact
@marcusmelodious277
@marcusmelodious277 3 жыл бұрын
Vishwas, you've done thousands of React developers all over one of the biggest favors in the world. You are the BEST mate!! Absolute best.
@jairovera8065
@jairovera8065 10 ай бұрын
This is the GOD Tier React/Webpack/TypeScript tutorial!
@abcdefgboom1
@abcdefgboom1 Жыл бұрын
Believe me, this is the best tutorial on KZbin on this topic to me....
@rorycawley8334
@rorycawley8334 3 жыл бұрын
This is the best series of videos on setting up your TS/React coding env - thanks for going to the trouble to get some much detail, the quality of this is so high. Well done!
@nelsonfleig5024
@nelsonfleig5024 2 жыл бұрын
Just what I was looking for. Some job interviews ask about using Webpack to set up React and I've been spoiled with CRA, React Vite, and Nextjs so I never took the time to set up everything from scratch. Thank you so much!!
@MessiLeonelle
@MessiLeonelle 4 ай бұрын
Well, it's exactly what i needed. You helping me with redux tutorial first and now you helping me with WP, thank you man.
@akashddeepchitransh4537
@akashddeepchitransh4537 2 ай бұрын
Never though that creating React project from scratch would be that much fun. Thanks Vishwas 😃😃
@anastaleb3617
@anastaleb3617 3 жыл бұрын
You're killing it man 💪 you have the best react content in the KZbin Keep going
@xiaotingshao3689
@xiaotingshao3689 Жыл бұрын
really good video for the juniors, thank you so much, Vishwas. You really understand what we need to expand our knowledge and skills. 🥰
@rohithsatyanivas4006
@rohithsatyanivas4006 Жыл бұрын
This is pure gold ⭐! Great content man! Thanks a lot!
@jgv4945
@jgv4945 3 жыл бұрын
Yeah! Have been waiting for this. Thanks you!
@IrvingWash
@IrvingWash 2 жыл бұрын
Thank you very much, I was looking for something like this for months
@ypucandeleteit
@ypucandeleteit 3 жыл бұрын
thank you for making this and explaining what the different config properties are for. Webpack has been causing me a lot of pain and this video is the remedy
@saitanush9453
@saitanush9453 3 ай бұрын
Tq bro, you're a saviour for React developers
@todorg.6868
@todorg.6868 2 жыл бұрын
You are amazing Vishvas. Thank you for this amazing videos!
@GauravJoshi-Vlogs
@GauravJoshi-Vlogs 3 жыл бұрын
Eagerly waiting for this series and finally we have it... Thnx!!
@aaronortiz1366
@aaronortiz1366 3 жыл бұрын
Great video! I have a doubt: Why in github files the webpack.config.js is different in video? Github file is shorter, and if I copy-paste all webpack files inside the directory the terminal returns Cannot find module './webpack.undefined.js' error. That doesn't happen if I write the content of webpack.common.js inside webpack.config.js. Thanks for answering and again, great videos!
@bltom6806
@bltom6806 3 жыл бұрын
He refactored his code. You can copy the 4 webpack config files (now splited) as it. You need now to precise your environment, so in `package.json`, specify the `env`: "start": "webpack serve --config webpack/webpack.config.js --env env=dev --open", Also add few packages: yarn add -D @babel/plugin-transform-runtime @pmmmwh/react-refresh-webpack-plugin react-refresh `yarn start` And All good! If at start it asks for missing package, just add it. Next lesson he'll explain that.
@easyfinanceexplained
@easyfinanceexplained 3 жыл бұрын
Hey, You're doing great work. The way you understand every topic made me feel that you have a deep understanding of the relevant topic. Thanks again, man.......... Best of luck.
@parasbuda9174
@parasbuda9174 3 жыл бұрын
thank alot for this series hope in future next js will also come
@compeng2013
@compeng2013 3 жыл бұрын
Max released an epic course recently
@tikeswarnaik827
@tikeswarnaik827 3 жыл бұрын
@@compeng2013 Can you share the link?
@Dipenparmar12
@Dipenparmar12 3 жыл бұрын
Hi, I just wanted to tell you this Setup/Config series is great enjoyable. Thanks for such an great tutorials.
@idevbrandon
@idevbrandon 3 жыл бұрын
Wow.. thank you so much. 3 things required to be FE developer here are React/TypeScript and Webpack knowledge
@xMoSicc
@xMoSicc 2 жыл бұрын
Thanks for working stuff. Lot of ppl write blogs and make so many errors. U dont! thanks a lot. I was getting crazy cuz of a lil mistake
@grandmaster-yo-yo
@grandmaster-yo-yo Ай бұрын
Best tutorial! Thank you so much!
@sheikhmuhammedshoaib1124
@sheikhmuhammedshoaib1124 3 жыл бұрын
Thanks for this series
@a2m2tkyo
@a2m2tkyo 3 жыл бұрын
why is the webpack.config.js file different in the video than the one in the repo? Which is the correct one to utilize for this portion of the guide?
@bassam.2023
@bassam.2023 2 жыл бұрын
Another brilliant tutorial! Unfortunately, hard to follow along in Oct 2022, but that is always the case with web dev related stuff. Thanks though!!
@Taskade
@Taskade 3 жыл бұрын
Awesome video! Thanks for putting this together. 🙌
@DIYcollection
@DIYcollection 2 жыл бұрын
Absolutely great tutorial! Thank you very much!
@chazontour8588
@chazontour8588 3 жыл бұрын
Great series. I notice the link to the repo containing supporting files isn't available in the description as you said.
@Codevolution
@Codevolution 3 жыл бұрын
Here you go - github.com/gopinav/React-TypeScript-Webpack-Starter
@amirovuz
@amirovuz 3 жыл бұрын
Awesome! thank you Mr Wishwas.
@grandmaster-yo-yo
@grandmaster-yo-yo Ай бұрын
Brother what is your color theme in vs code? I like it so much
@kollabor8
@kollabor8 Жыл бұрын
Warning: This is outdated, but still well worth watching, make sure you keep updated with the technology, I'm writing this as there have been many changes in the stack
@mohdnawazishalam3255
@mohdnawazishalam3255 3 жыл бұрын
Thanks a lot for creating this course
@carlosayalav
@carlosayalav 3 жыл бұрын
Amazing !! im just about to initialize a project in Typescript with React and Microfront Architecture with webpack federated modules. Thank you so much !!
@МаксимПирожков-ы3т
@МаксимПирожков-ы3т 2 жыл бұрын
Thank you soo much for this video!!!
@THEGhost902
@THEGhost902 3 жыл бұрын
Why do you use babel instead of ts-loader?
@evangeloskolimitras5276
@evangeloskolimitras5276 3 жыл бұрын
Are you sure this tsconfig setup is proper for browser compatibility?
@chandramabishi4779
@chandramabishi4779 3 жыл бұрын
please make a video on server side rendering SSR
@rishabhsharma6084
@rishabhsharma6084 3 жыл бұрын
Sorrry Vishwas, but when my server runs it shows the directory of the project instead of rendering App.tsx ... what should I do? 😣
@debarghyachakraborty
@debarghyachakraborty 3 жыл бұрын
npm install @babel/plugin-transform-runtime -D
@plamenyovchev
@plamenyovchev 3 жыл бұрын
Why not simply use create react app typescript template?
@nargesa.n756
@nargesa.n756 Жыл бұрын
Thank you. Please note that at the time I am writing this comment we need to add '@babel/plugin-transform-runtime' as well.
@sameeramrutia18
@sameeramrutia18 3 жыл бұрын
Vishvas Bro...! you are just too good. The teaching methodology is amazing.. keep it up.. & Big thank you for this series. i would like to know more about Webpack 5 chunk splitting functionalities and mono repo. if you can add 2-3 more session to same..? Thanks a ton..! god bless you.
@AshutoshSharma-ml6sv
@AshutoshSharma-ml6sv 2 жыл бұрын
Why these are added as devDependancy: typescript @types/react @types/react-dom ?
@sairarasheed3411
@sairarasheed3411 3 жыл бұрын
after making app.tsx file in source folder i get the error "Cannot use JSX unless the '--jsx' flag is provided" can you resolve it??
@Pspisripoff
@Pspisripoff 2 жыл бұрын
Somehow proxy doesnt work with this webpack setup...
@VaibhavMane604
@VaibhavMane604 Жыл бұрын
Please make one video on Vite + react + TS setup
@MrDima123123
@MrDima123123 2 жыл бұрын
Hello. Thank you for awesome tutorial! But I found some problem. If I make a mistake with Typescript code, then build will be created successfully. Also "npm start" will be executed successfully too. Something like: let a = 90 a += 'dfdfdf' It is possible to prevent building process or starting app if typescript errors exists ?
@MrDima123123
@MrDima123123 2 жыл бұрын
@Ayomide Bamigboye thank you for your advice
@soumyapriyadarshi3833
@soumyapriyadarshi3833 Жыл бұрын
help :)) I am getting error like this. Please help Failed to load 'D:\Documents eact-ts-nextjs\webpack\webpack' config Error: Cannot find module 'D:\Documents eact-ts-nextjs\webpack.config.js'
@chandramabishi4779
@chandramabishi4779 3 жыл бұрын
what about bundle.js file
@galony3151
@galony3151 3 жыл бұрын
:( I need Help!! When i try run the code, this return that : Content security police: The page option has been blocked
@lunaeclipse5768
@lunaeclipse5768 2 жыл бұрын
this is wat hppens when u follow along tutorial
@vaibhavmatere18
@vaibhavmatere18 Жыл бұрын
.babelrc is automatically created and we don't need to create it separately now.
@joecolas
@joecolas 3 жыл бұрын
very good tuto . thank you
@romimaximus
@romimaximus 3 жыл бұрын
I wish you could make a video tutotrial like this react/webpack setup, but with no "Typescript" 👍
@PumpkinDog33
@PumpkinDog33 3 жыл бұрын
typescript starts out feeling annoying/constricting but eventually you'll hate using regular javascript because everything feels so unkept and naked.
@romimaximus
@romimaximus 3 жыл бұрын
@@PumpkinDog33 i think is a pain.!! , very confusing and complicated.!!, every time you create a variable, a function , a object, or even passig a "prop", you have to remember to creater a "interface", and a bunch of oher stuff....and the you have to complie back to javascript !!, its like walking backwards..and at end, it all comes down to plain compiled javascript !!! it doesn't makes sense..!! 😂😂😂
@dinesh8112
@dinesh8112 3 жыл бұрын
Dude, you are the best. Is it possible for you to make a course on redux forms please?
@abhaykumar9806
@abhaykumar9806 3 жыл бұрын
Unable to contribute on your support link - paypal. Please let me know,
@Nikhilsharma-dp9tw
@Nikhilsharma-dp9tw 3 жыл бұрын
Hey @codevolution, why there isn't much discussion on react typescript in the community, even most of the projects on git are using pure js. is there some reason ? I'm from angular background, so I'm conscious on types
@madhousenetwork
@madhousenetwork 3 жыл бұрын
not sure about that. But I'm working in react projects since 1 and half years. we use Typescript for react
@harrisonekpobimi4764
@harrisonekpobimi4764 3 жыл бұрын
Superb
@bottletyre
@bottletyre 3 жыл бұрын
After an edit of a text in App.tsx file why it is so slow in compilation to reflect in Browser? Can the compilation time be decreased ?
@Codevolution
@Codevolution 3 жыл бұрын
Yes, I'll cover that in part 4 :)
@shaita8704
@shaita8704 2 жыл бұрын
please create a playlist on react native
@iUmerFarooq
@iUmerFarooq 3 жыл бұрын
But why we need to do this we have already npm commands to generate the same template?
@Viveksharma0157
@Viveksharma0157 3 жыл бұрын
Yes that’s also i want to know why we need this What’s the difference between Plz reply @codevolution
@jgv4945
@jgv4945 3 жыл бұрын
@@Viveksharma0157 He explains it right at the beginning in the introduction.
@Nikhilsharma-dp9tw
@Nikhilsharma-dp9tw 3 жыл бұрын
To understand what exactly is happening under the hood, with this you have full control of your project
@kalesmca
@kalesmca 2 жыл бұрын
I want build file is like react-app-cli build
@iUmerFarooq
@iUmerFarooq 3 жыл бұрын
Will you tech Laravel?
@reactivicky
@reactivicky 3 жыл бұрын
Awesome
@m.ssmanianmanian1168
@m.ssmanianmanian1168 3 жыл бұрын
[webpack-cli] Invalid configuration object. Webpack has been initialized using a configuration object that does not match the API schema. - configuration has an unknown property 'plugin'. These properties are valid: object { amd?, bail?, cache?, context?, dependencies?, devServer?, devtool?, entry?, experiments?, externals?, externalsPresets?, externalsType?, ignoreWarnings?, infrastructureLogging?, loader?, mode?, module?, name?, node?, optimization?, output?, parallelism?, performance?, plugins?, profile?, recordsInputPath?, recordsOutputPath?, recordsPath?, resolve?, resolveLoader?, snapshot?, stats?, target?, watch?, watchOptions? } -> Options object as provided by the user. For typos: please correct them. For loader options: webpack >= v2.0.0 no longer allows custom properties in configuration. Loaders should be updated to allow passing options via loader options in module.rules. Until loaders are updated one can use the LoaderOptionsPlugin to pass these options to the loader: plugins: [ new webpack.LoaderOptionsPlugin({ // test: /\.xxx$/, // may apply this only for some modules options: { plugin: … } }) ] please answer me, why should this error is coming... webpack version as bellow, "webpack": "^5.36.0", "webpack-cli": "^4.6.0", "webpack-dev-server": "^3.11.2" "html-webpack-plugin": "^5.3.1",
@ynaveenkmr5943
@ynaveenkmr5943 26 күн бұрын
Hi Vishwas I like your all videos & all are awesome & all are real time examples only, please can you upload these with latest versions of react 18+ & typescript.
@eleah2665
@eleah2665 3 жыл бұрын
"Short" series??!!
@muhammadyusoffjamaluddin
@muhammadyusoffjamaluddin 2 жыл бұрын
I dont know if you even rewatch your video when posted. Along this tutorial I have a hard time to follow whatever you wrote on the terminal. No, serious sir please pull that terminal curtain up. Thank you.
@iUmerFarooq
@iUmerFarooq 3 жыл бұрын
But why you're not using JavaScript instead of Typescript?
@MohitKumar-so4yf
@MohitKumar-so4yf 2 жыл бұрын
Bhai jhappi dede
@arcan762
@arcan762 3 жыл бұрын
Why is this still such a pain in the ass??
@rephaelsintes7275
@rephaelsintes7275 Жыл бұрын
hi, Thank you for this course I have some problems at the end of the video Everything is working fine until the last command 'npm start' It display an error and I can't find answer on google PS C:\Users\USER\Documents\Courses\React & Webpack> npm start > react-template@1.0.0 start > webpack serve --config ./webpack/webpack.config.js --open 'Webpack ode_modules\.bin\' is not recognized as an internal or external command, operable program or batch file. node:internal/modules/cjs/loader:1085 throw err; ^ Error: Cannot find module 'C:\Users\USER\Documents\Courses\webpack\bin\webpack.js' at Module._resolveFilename (node:internal/modules/cjs/loader:1082:15) at Module._load (node:internal/modules/cjs/loader:928:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:83:12) at node:internal/main/run_main_module:23:47 { code: 'MODULE_NOT_FOUND', requireStack: [] } It some how try to find the webpack.js in a non existing path 'C:\Users\USER\Documents\Courses\webpack\bin\webpack.js'
@aguspray
@aguspray 2 жыл бұрын
you can generate your own tsconfig.json by typing : node_modules/.bin/tsc --init
@batm1x
@batm1x 2 жыл бұрын
It doesn't work in oct 2022. Module build failed (from ./node_modules/babel-loader/lib/index.js):
@srinathvu1542
@srinathvu1542 3 жыл бұрын
Thank you so much for this series
React TypeScript Webpack - Setup From Scratch  (2/8)
6:58
Codevolution
Рет қаралды 30 М.
React Tutorial for Beginners
1:20:04
Programming with Mosh
Рет қаралды 3,6 МЛН
It’s all not real
00:15
V.A. show / Магика
Рет қаралды 20 МЛН
小丑教训坏蛋 #小丑 #天使 #shorts
00:49
好人小丑
Рет қаралды 54 МЛН
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 53 МЛН
Electron Course - Code Desktop Applications (inc. React and Typescript)
3:33:20
React with TypeScript Crash Course
1:07:05
Laith Academy
Рет қаралды 240 М.
React Webpack Setup From Scratch
20:53
Code With Bubb
Рет қаралды 60 М.
React & TypeScript - Course for Beginners
1:32:59
freeCodeCamp.org
Рет қаралды 666 М.
Beginner React.js Coding Interview (ft. Clément Mihailescu)
36:31
Ben Awad
Рет қаралды 2,2 МЛН
Building Real-time Apps with Go | Azim Pulat
54:58
Azim Pulat
Рет қаралды 63 М.
Micro Frontends Crash Course with React & Webpack 5 Module Federation
1:11:37
It’s all not real
00:15
V.A. show / Магика
Рет қаралды 20 МЛН