Components are just functions that return React Elements...
#React #CodeNewbie #AdventOfCode
Props are a lot like function arguments... in fact, they are function arguments...
#React #CodeNewbie #AdventOfCode
id, className, onClick, data-* are attributes we assume we can use on any element.
Make your #ReactJS components flexible enough to take them all...
Assignment CodeSandbox: codesandbox.io/s/react-holida…