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

Followup to #7219, which was created before the Jekyll 3 upgrade, which needs the permalink field.
This commit is contained in:
Paul O’Shannessy 2016-07-29 12:14:01 -07:00 committed by GitHub
parent 8329856a3f
commit 25aa5e36c9
1 changed files with 1 additions and 0 deletions

View File

@ -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.