i’m testing latest version where main app can be a component (https://framework7.io/docs/router-component.html#main-app-component)
app.f7.html where there is app init and login modal and relative login function
home.f7.html that is main view with a simple print of {{$root.loggedIn}}
if I call login function and relative update of loggedIn var to true ( this.$setState({ loggedIn: true }); ) , app.f7.html template was updated, but not home.f7.html of main view whre loggedIn remain to false
so… is possible to call update of all dom views? I’ve tried to add
this.$tick(function () {
alert(‘DOM and state updated’);
});
to login function of app.f7.html but nothing change
thanks in advance