-
Task
-
Resolution:
Done
-
Medium
-
-
None
-
None
-
- Create file app-constants:
- All the constants in component .ts files can be moved to this file as variables and these variables can be used across components.
- This will avoid source code change whenever the input-data/desired format of value has to be changed.
- This will avoid changes at multiple places if any value has to be changed.
- Best to avoid hard coding as it is considered as anti pattern, hence makes maintenance easier going forward.