You have come a long way, mate. I have seen your older VDOs as well. Your newer ones are much more polished. Precise, to the point. I have shared your series with friends wanting to start FE development & they have liked it a lot. Keep up the good work. I'll definitely be your patron on patreon.. kudos..
I actually clicked this video for isRequired but it was at very end and regret to say not very detailed. Nonetheless a good video. Will you do a detail video about how can we use propTypes under different conditions
I would not try to do that, We also use propTypes in our project and the best way to handle is through a review process. Have strict review process. Also if you blocking way of handling this you should use typescript which will block you from even compiling it if you make type errors.
what is the significance of using Proptypes...i mean its only giving compile time error though we have defined Test.proptypes...compoment is rendering perfectly..can you please explain
Thanks for the video. I have a question. Even after giving children : PropTypes.element, am getting the error, index.js:1452 Warning: Failed prop type: Invalid prop `children` of type `array` supplied to `Test`, expected a single ReactElement.
its helps you avoid regression, it helps other developer to understand the contract of each component. also there might be a case where you code breaks in certain situation.
You have come a long way, mate. I have seen your older VDOs as well. Your newer ones are much more polished. Precise, to the point. I have shared your series with friends wanting to start FE development & they have liked it a lot. Keep up the good work.
I'll definitely be your patron on patreon.. kudos..
Thanks venkat for all your support.
Best react tutorial. Short videos yet explains everything needed without confusing . Thanks Techsith . Keep up the good work 😇
To the Point, Precise Video.
Thanks, TechSith for such a quality Videos.
i know I'm kinda off topic but do anybody know a good site to stream newly released movies online ?
@Killian Jayden i watch on FlixZone. Just google for it =)
@Killian Jayden i would suggest flixzone. You can find it by googling :)
you are a great teacher, clear, concise, good pace.
Everything is crystal clear ,keep up the good work and keep us inspired 😄😄
As always simple and to the point. Thanks techsith
I chuckled when you used 'ary' instead of 'arr' for array name variable :D
Thanks for this Tutorial , Helped a Lot
Very precise and understandable. Thank you
What software do you use to screen record and record yourself simultaneously, while also cutting out the background?
camtesia
Thanks!
You are always the best your presentation speech always an energetic one for all learners
When I add propType as bool and passing string, I am not getting any warning in console, its running fine. why so ?
thanks so much for this video and for whole series :D
just one question, can u tell me one example of its usage in project
Thank you for this tutorial!
Thank you so much you always make my code live easy.
I actually clicked this video for isRequired but it was at very end and regret to say not very detailed. Nonetheless a good video. Will you do a detail video about how can we use propTypes under different conditions
Thanks a lot for this gem
My pleasure
When are proptypes best used???
what's wrong with creating an interface and doing:
`const Test = (props: PropsType)` ?
Thanks a lot, very informative.
Hey, Can i bring that warning in my production through some try-catch block??
I would not try to do that, We also use propTypes in our project and the best way to handle is through a review process. Have strict review process. Also if you blocking way of handling this you should use typescript which will block you from even compiling it if you make type errors.
Thank you, this helped me!
Thank you so much, very helpful :)
what is the significance of using Proptypes...i mean its only giving compile time error though we have defined Test.proptypes...compoment is rendering perfectly..can you please explain
its only giving warning
It prevents you from making typed related mistakes. Thats all it does.
@@Techsithtube Thanks.
Thanks for the video. I have a question. Even after giving children : PropTypes.element, am getting the error,
index.js:1452 Warning: Failed prop type: Invalid prop `children` of type `array` supplied to `Test`, expected a single ReactElement.
Would you mind posting your code here? That might help us figure out where you may be facing the issue.
Because in the tutorial , he added two elements as children, so need to use arrayOf - I guess. PropTypes.arrayOf(PropTypes.Element)
Is there a way to check method PropTypes?
Perfect!!!
Ferhad, Thanks for watching!
Nice. Can you do a jss video next?
thanks sir!
Thanks for watching! :)
Do we need to set prop types from store state?
If you use flow or typescript you can check types of the store state. My next video will be on flow.
is warning generated how to handle it?
Thank you sir for this brilliant React Tutorial. Can you make videos of few projects & make them live?
Thanks again!!!
does he have tutorials for react native ??
Thank you :)
YES. this is good...
Thank you buddy
Good tutorial
Thank you.
Brilliant
good tuto but if you have two values to be the same for your key, it will failed. use an index in your map. is the correct practice to go with.
Thanks for the tip!
hi ..your videos are very gud to understand reactjs.. i want cross browser compatbility concept..can you please share that video
if we create a state on the childreen element.. can we pass it to the parent.. how can we do that ?
I would suggest creating the state on the parent. Don't create on children.
i aaprecaite you
super
Thanks for watching! :)
Typescript is much less code.
Yes I agree
what is the point of PropTypes if everything compiles and runs? useless
its helps you avoid regression, it helps other developer to understand the contract of each component. also there might be a case where you code breaks in certain situation.