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

Have a concept for optional frontend libraries #195

Closed
xi opened this issue Apr 11, 2017 · 1 comment
Closed

Have a concept for optional frontend libraries #195

xi opened this issue Apr 11, 2017 · 1 comment
Labels
Dev: Refactor issues to be fixed with code refactor Type: Question issue or PR needing answer

Comments

@xi
Copy link
Contributor

xi commented Apr 11, 2017

Some frontend libraries are only used on specific pages (e.g. leaflet for maps). Sometimes we just include these libraries in the webpack bundle so that it gets quite big (~1.5MB at the moment). Sometimes we only load them on the pages where they are needed, which adds complexity.

We should find a consistent solution for this which balances performance and code complexity.

@xi xi added the Type: Question issue or PR needing answer label Apr 11, 2017
@xi
Copy link
Contributor Author

xi commented Apr 18, 2017

For reference, this are the mechanisms currently in use:

@xi xi added the Dev: Refactor issues to be fixed with code refactor label May 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Dev: Refactor issues to be fixed with code refactor Type: Question issue or PR needing answer
Projects
None yet
Development

No branches or pull requests

2 participants