transferPropsTo should never transfer the key property

This commit is contained in:
Andreas Svensson
2013-12-26 00:12:22 +01:00
parent 9e0987cd9b
commit 374c9ba658
+4
View File
@@ -52,6 +52,10 @@ var TransferStrategies = {
* Transfer the `className` prop by merging them.
*/
className: createTransferStrategy(joinClasses),
/**
* Never transfer the `key` prop.
*/
key: emptyFunction,
/**
* Never transfer the `ref` prop.
*/