[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 b7c168f6cb
commit 2f57807286

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.