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

feat(animations): Provide a way to lazy load the animations #50738

Closed
wants to merge 3 commits into from

Commits on Sep 26, 2023

  1. feat(animations): Add the possibility of lazy loading animations code.

    `provideLazyLoadedAnimations()` returns providers which allow the lazy loading of the animation module.
    
    Lazy loading of the animation code can shave off up to 16KB gzipped of the main bundle.
    JeanMeche committed Sep 26, 2023
    Copy the full SHA
    182ae25 View commit details
    Browse the repository at this point in the history
  2. refactor(animations): Add integration test for animations/async.

    This integration test aims to cover that we do not break the code splitting of the animation module when we use `provideAnimationsAsync()`.
    JeanMeche committed Sep 26, 2023
    Copy the full SHA
    febbc8f View commit details
    Browse the repository at this point in the history
  3. test(animations): update the integration test

    Let's have the same test app for async and eagerly loaded animations.
    JeanMeche committed Sep 26, 2023
    Copy the full SHA
    3a8a969 View commit details
    Browse the repository at this point in the history