John Au-Yeung
1 min readOct 1, 2019

--

Nice article. I think using PropType validation is very nice if you aren’t using TypeScript. It helped prevent lots of unexpected behavior and errors.

I would add that if the component structure become more complex, then using some flux implementation like Redux or MobX or the Context API to pass data around would be better than passing around lots of props.

--

--

No responses yet