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

progressively load icons #2

Open
2 tasks
AnxiousDarkly opened this issue Jul 23, 2019 · 0 comments
Open
2 tasks

progressively load icons #2

AnxiousDarkly opened this issue Jul 23, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request example

Comments

@AnxiousDarkly
Copy link
Collaborator

at the moment each time a category is selected, the entire icon set is loaded, which can be a lot of data, we should only really load chunks of a certain page size (say 80 icons).

  • needs to be part of the build step (example & pkg)
  • this can be achieved by using the rollup input property (instead of chunk analysis)

alternatively you could wrap each one in a dynamic import, there would be a ton of requests but it might make for a decent ux (i.e user can interact with icons the moment they are loaded).

@AnxiousDarkly AnxiousDarkly added the enhancement New feature or request label Jul 23, 2019
@AnxiousDarkly AnxiousDarkly self-assigned this Jul 23, 2019
@AnxiousDarkly AnxiousDarkly changed the title example: progressively load icons progressively load icons Jul 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request example
Projects
None yet
Development

No branches or pull requests

1 participant