codeforboston / codeforboston/cliff-effects

Add `propTypes` to component definitions

Open
#901 2 comments 1 reaction 0 assignees View on GitHub
discussion needed infrastructure tech-debt
Dominant language
JavaScript
Stars
30
Forks
62
PR merge metrics
No merged PRs in 30d

Description

Prop types are a handy way of both adding run-time type validation and providing some documentation on the available props in the code. I believe that React disables prop type checking in production environments, so it shouldn't add any (or much) overhead in production.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.