react-konva
Advanced tools
Comparing version
{ | ||
"name": "react-konva", | ||
"description": "React binding to canvas element via Konva framework", | ||
"version": "1.5.7-beta", | ||
"version": "1.5.8-beta", | ||
"keywords": ["react", "canvas", "jsx", "konva"], | ||
@@ -6,0 +6,0 @@ "bugs": "https://github.com/lavrton/react-konva/issues", |
@@ -359,13 +359,2 @@ (function webpackUniversalModuleDefinition(root, factory) { | ||
updatePicture(instance); | ||
var val, prop; | ||
for (prop in updatedProps) { | ||
val = updatedProps[prop]; | ||
if (val instanceof window.Image && !val.complete) { | ||
var node = instance; | ||
val.addEventListener('load', function () { | ||
var layer = node.getLayer(); | ||
layer && layer.batchDraw(); | ||
}); | ||
} | ||
} | ||
} | ||
@@ -372,0 +361,0 @@ } |
@@ -23,3 +23,9 @@ # React Konva | ||
For react v16 please use: | ||
```bash | ||
npm install react@16.1.0-beta react-dom@16.1.0-beta react-konva@1.5.7-beta | ||
``` | ||
For older versions: | ||
```bash | ||
npm install react konva react-konva --save | ||
@@ -26,0 +32,0 @@ ``` |
282
2.17%41590
-0.46%827
-1.31%