[Feature] Refresh the code to latest standards
AmitMY opened this issue · 0 comments
AmitMY commented
Problem
Our serving quality had regressed as various libraries slowly introduced changes, and optimizations were not taken into account.
Description
- We should move the build system to
esbuild
(https://angular.io/guide/esbuild) - To do that, we must move ionic to standalone (https://ionicframework.com/docs/angular/build-options#standalone)
- To do that, it would be easier to convert existing components to standalone
- Only then, we can perform prerendering again, and see that the app renders correctly without Javascript.
- Prerendering should then be done separately for mobile iOS, mobile Android, Desktop iOS and desktop Android, and served correctly based on headers from firebase.
- Once prerendering is good, we can leverage angular universal on firebase https://firebase.google.com/docs/hosting/frameworks/angular
Alternatives
No response
Additional context
No response