Browse Source

[docs] Add permalink to PropTypes warning page (#7377)

Followup to #7219, which was created before the Jekyll 3 upgrade, which needs the permalink field.
main
Paul O’Shannessy 9 years ago
committed by GitHub
parent
commit
2f57807286
  1. 1
      warnings/dont-call-proptypes.md

1
warnings/dont-call-proptypes.md

@ -1,6 +1,7 @@
---
title: Don't Call PropTypes Warning
layout: single
permalink: warnings/dont-call-proptypes.html
---
In a future major release of React, the code that implements PropType validation functions will be stripped in production. Once this happens, any code that calls these functions manually (that isn't stripped in production) will throw an error.

Loading…
Cancel
Save