pantry-for-good icon indicating copy to clipboard operation
pantry-for-good copied to clipboard

Add propTypes to components

Open jspaine opened this issue 7 years ago • 2 comments

jspaine avatar Jun 15 '17 19:06 jspaine

I'm interested in tackling this one. Is there any opposition to using Flow instead of PropTypes? I think flow would allow for more expressive type checking and allows us to do it statically [1].

lematt1991 avatar Aug 18 '17 19:08 lematt1991

I'm ok with that, would be useful lots of other places too.

Don't think you have to do every component btw, if you can get it set up and do a good handful that would be great.

jspaine avatar Aug 18 '17 22:08 jspaine