rev rive-wasm dependencies & update render delay to be 0ms

This commit is contained in:
Maxwell Talbot
2022-07-22 15:20:40 +02:00
parent 156b3bdfb5
commit eb07281415
2 changed files with 3 additions and 3 deletions

View File

@@ -29,8 +29,8 @@
},
"homepage": "https://github.com/rive-app/rive-react#readme",
"dependencies": {
"@rive-app/canvas": "1.0.71",
"@rive-app/webgl": "1.0.68"
"@rive-app/canvas": "1.0.75",
"@rive-app/webgl": "1.0.72"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"

View File

@@ -58,7 +58,7 @@ export function useSize(
height: entries[entries.length - 1].contentRect.height,
});
}
}, 16)
}, 0)
)
);