ReactNative ๐
rborn opened this issue ยท 4 comments
rborn commented
Is it possible to use it with ReactNative ?
thednp commented
I don't know, but if your KUTE.js animation code runs after DOM changes, it should be fine.
rborn commented
Thnx for the reply - kute depends on DOM, right? if yes it won't work :)
thednp commented
Also requires window
for the to()
method where getComputedStyle()
is used.
An easy work around is making a callback system in your code similar to customElements
implementation:
onConnected
- add your tween objectsonDisconnected
- stop and destroy your tween objects
Make sure your code executes when DOM is ready and no manipulation is taking place, or else you need to rely on jQuery for its tweaks and quirks.
rborn commented
Thanks for explaining ๐ค