[change] onLayout improvements

1. Fires when window resizes
2. Guards against nodes being unmounted

Fix #397
Ref #60
This commit is contained in:
Nicolas Gallagher
2017-03-18 11:56:52 -07:00
parent 89ad493ce5
commit 808790505e
6 changed files with 84 additions and 34 deletions
-1
View File
@@ -25,7 +25,6 @@
"dependencies": {
"animated": "^0.2.0",
"array-find-index": "^1.0.2",
"asap": "^2.0.5",
"babel-runtime": "^6.23.0",
"debounce": "^1.0.0",
"deep-assign": "^2.0.0",