-
-
Notifications
You must be signed in to change notification settings - Fork 197
Closed
Description
Why
Page reload syncs are completely unsupported in Angular apps, and realoading a page completely breaks the app.
What
We need a way to disable page reload syncs for Angular apps, and always restart the app.
How
Certainly not like this. Funny hacks aside, here's what comes to mind:
- We can check
package.json
for anangular2
dependency. - We can introduce a CLI option like
--no-page-reloads
- We can expose additional hooks in some module that the
nativescript-angular
code overrides and disables page reloads.