TF-358 Add ADR for issues reduce main file size on Web Browser

This commit is contained in:
dab246
2022-04-04 15:00:01 +07:00
committed by Dat H. Pham
parent 1482dd9392
commit b2e98087dd
@@ -0,0 +1,19 @@
# 3. Reduce main file size on Web Browser
Date: 2022-04-04
## Status
Accepted
## Context
- Reduce `main.dart.js` file size at web browser startup
## Decision
- We use [Lazily loading](https://dart.dev/guides/language/language-tour#lazily-loading-a-library) which could split your code in multiple JavaScript files
## Consequences
- Significantly reduce the size of the generated `main.dart.js` file.