Best practices in Capacitor SDK