Search code examples
angulardartangular-dart

Progressive web app and AngularDart


I am currently looking for a web framework for my next project and for some reasons I'm interested in angulardart.

But at the same time I want my webapp to follow PWA guidelines.

I searched quite a lot, but I haven't found an example of PWA in angulardart. I saw some examples for the JS counterpart or found pwa dart package, but I lack the knowledge of angulardart framework to know if it's possible in dart.

So, is it possible to make a PWA in angulardart ?


Solution

  • Deferred loading in plain Dart

    Angular supports deferred loading for statically and dynamically added components.

    See also https://github.com/dart-lang/angular/blob/9a2b824cef4e1c45871bb7fad7cbbb1af1b80ed1/ROADMAP.md#code-size

    AngularDart is suitable as a framework for a progressive web app.

    More specific documentation seems sparse though.

    For pwa features beyond deferred loading use the pwa package you mention in your question.