Skip to content

Commit

Permalink
Install React prop-types package
Browse files Browse the repository at this point in the history
For type validation and checking, Nord Docs will for the time being make
use of React prop types (1) through the `prop-types` (2) package. This
technique is sufficient for the beginning of the project and might be
revised and refactored later on e.g. by migrating to TypeScript (3) or
integrating Flow (4). Details will be documented in related future
epics.

References:
  (1) https://reactjs.org/docs/typechecking-with-proptypes.html
  (2) [npm-prop-types]: https://www.npmjs.com/package/prop-types
  (3) https://www.typescriptlang.org
  (4) https://flow.org

Closes GH-35
  • Loading branch information
arcticicestudio committed Nov 20, 2018
1 parent b63bab3 commit 4fe5473
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@
"gatsby-source-filesystem": "2.0.8",
"gatsby-transformer-yaml": "2.1.5",
"nord": ">=0.2.1 <1.0.0",
"prop-types": "15.6.2",
"react": "16.6.3",
"react-dom": "16.6.3",
"react-helmet": "5.2.0"
Expand Down

0 comments on commit 4fe5473

Please sign in to comment.