[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:
parent
8329856a3f
commit
25aa5e36c9
|
@ -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…
Reference in New Issue