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

Review JavaScript #5

Open
SubJunk opened this issue Dec 23, 2020 · 0 comments
Open

Review JavaScript #5

SubJunk opened this issue Dec 23, 2020 · 0 comments

Comments

@SubJunk
Copy link
Member

SubJunk commented Dec 23, 2020

I haven't had much of a look at the JavaScript functionality in the template but it is possible that some optimizations can be made. I noticed a lot of binding to load and scroll events, which can cause a lot of client-side load, so they could be debounced.
Another thing to look into would be caching elements in jQuery instead of fetching them on each event.
Other things will present themselves when going through that file

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

1 participant