furdzik / IF.Kamisama

Complete Style Guide for writing frontend code by Izabela Furdzik [WIP]
MIT License
0 stars 0 forks source link

[React] PropTypes and PropTypes shapes #10

Open furdzik opened 3 years ago

furdzik commented 3 years ago

https://www.freecodecamp.org/news/react-pattern-centralized-proptypes-f981ff672f3b/

furdzik commented 3 years ago

[CONSIDER]

  1. One name of main folder with shapes: now is types, or shapes is better
  2. Two names, if using TypeScript use types, if using PropTypes use shapes
furdzik commented 2 years ago

See also: https://github.com/furdzik/IF.Kamisama/issues/17