Hi.
Should i follow the rules like in the browser when writing code in capacitor.js for android?
I mean, write code taking into account the logic of the browser, for example, avoid unnecessary reflow/repaint, using requestFrameAnimation etc.
Will these optimizations work for a mobile app?
For sure! Write the best performant animations and transitions you can. Not doing that can cause jank on android webview, specially.
2 Likes