Make numerical refs work in Fiber (#8334)

This commit is contained in:
Ben Alpert
2016-11-17 18:56:33 +00:00
committed by GitHub
parent 862cedee94
commit 8ecb248e6d
5 changed files with 24 additions and 15 deletions
-1
View File
@@ -384,7 +384,6 @@ src/renderers/shared/shared/event/__tests__/EventPluginHub-test.js
src/renderers/shared/stack/reconciler/__tests__/ReactComponent-test.js
* should throw on invalid render targets
* should throw when supplying a ref outside of render method
* throws usefully when rendering badly-typed elements
src/renderers/shared/stack/reconciler/__tests__/ReactComponentLifeCycle-test.js
+2
View File
@@ -1019,6 +1019,7 @@ src/renderers/shared/shared/event/eventPlugins/__tests__/ResponderEventPlugin-te
* should cancel correctly
src/renderers/shared/stack/reconciler/__tests__/ReactComponent-test.js
* should throw when supplying a ref outside of render method
* should warn when children are mutated during render
* should warn when children are mutated during update
* should support refs on owned components
@@ -1234,6 +1235,7 @@ src/renderers/shared/stack/reconciler/__tests__/refs-test.js
* always has a value for this.refs
* ref called correctly for stateless component when __DEV__ = false
* ref called correctly for stateless component when __DEV__ = true
* coerces numbers to strings
src/renderers/shared/utils/__tests__/accumulateInto-test.js
* throws if the second item is null