React PropTypes and DefaultProps Explained
Learn type checking for Props in React JS by using PropTypes. In programming, type checking is important. We can use TypeScript for writing secure data types in React, but it doesn't work for Props.
In this video, you're going to learn how to use type checking in React JS with an external npm package: PropTypes. I will also explain what default props mean and how to use it.
React JS Official Docs: https://reactjs.org/docs/typechecking...
NPM Package PropTypes Download Link: https://www.npmjs.com/package/prop-types
Video Editor: iMovie
Code Editor: VS Code
Background Picture Credit -- Photo by Ferenc Almasi -- on Unsplash Link: https://unsplash.com/photos/L8KQIPCODV8
------------------------------- Follow Me on Twitter -----------------------------------
Twitter - @cem_eygi - / cem_eygi
On this page of the site you can watch the video online React PropTypes & DefaultProps - Type Checking in React JS with a duration of hours minute second in good quality, which was uploaded by the user Cem Eygi Media 30 March 2020, share the link with friends and acquaintances, this video has already been watched 12,463 times on youtube and it was liked by 322 viewers. Enjoy your viewing!