DEV Community

loading...
Cover image for WIP: React `defaultProps` and `propTypes` for HTML elements

WIP: React `defaultProps` and `propTypes` for HTML elements

iamandrewluca profile image Andrew Luca ・1 min read

Introduction

Let's get started

Conclusion

Get feedback and iterate

There’s no replacement for practice

If you like this article please share it!

TODO


https://reactjs.org/docs/react-component.html#defaultprops
https://reactjs.org/docs/typechecking-with-proptypes.html

Discussion (0)

pic
Editor guide