Please enable JavaScript.
Coggle requires JavaScript to display documents.
Beginning ReactJS (Props and PropTypes (create your own PropTypes object,…
Beginning ReactJS
Props and PropTypes
create your own PropTypes object
user PropTypes package
proptypes are used for dev purpose only
use babel plugin to remove proptypes in prod
React Components
create components to avoid DRY
props
pure functional component
React Hello World
Create an element using ReactJS and compare it with JS code
children prop
create a simple DIV using JS with some text
Styling react component
inline styling
className attribute
Using JSX
Use JSX over React.createElement calls
user babel standalone along with text/babel script type
write any JS using {}
rerender of react application
how react update only part of the application
Not using build tools is good idea
Event handlers