Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Angular expression evaluation vs. ng-bind directive #160

Closed
codemusings opened this issue Apr 10, 2018 · 3 comments
Closed

Angular expression evaluation vs. ng-bind directive #160

codemusings opened this issue Apr 10, 2018 · 3 comments
Milestone

Comments

@codemusings
Copy link

Hello,

I noticed that the binding expressions are visible for a second when the app is loaded and wanted to discuss whether it makes sense to review the templates and maybe switch to ng-bind directives and/or introduce a loading indicator until everything has been fetched.

See this screenshot:
nextcloud_tasks

And this Stackoverflow thread:
https://stackoverflow.com/questions/16125872/angularjs-why-ng-bind-is-better-than-in-angular

If you think this is worthwile I'd like to contribute to this.

@raimund-schluessler
Copy link
Member

Every contribution is welcome, and this one seems to make sense, both from performance and from user experience view. So feel free to proceed.

Just a short information for you to decide how much effort you want to put in: In the long run, we plan to move away from AngularJS to vue.js, see #27 and nextcloud/calendar#540. However, this will probably not happen within the next 12 months.

@codemusings
Copy link
Author

Alright makes sense. I'll see what I can do. Maybe I can help out with the port Vue later down the road.

@raimund-schluessler
Copy link
Member

Fixed with #194.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants