-
Notifications
You must be signed in to change notification settings - Fork 1
Views take up too much memory #52
Copy link
Copy link
Open
Labels
AppAffecting or involving Steward's Application layer.Affecting or involving Steward's Application layer.RouterAffecting or involving Steward's router layer.Affecting or involving Steward's router layer.enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Metadata
Metadata
Assignees
Labels
AppAffecting or involving Steward's Application layer.Affecting or involving Steward's Application layer.RouterAffecting or involving Steward's router layer.Affecting or involving Steward's router layer.enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Currently, views are added to the container and the container can be cloned. Because views are being bound as template strings, they are being cloned when the container is being cloned.
My suggestion here is to create a new constant class called ViewManager that the views can be loaded into memory within (and this should also probably be responsible for loading the views into memory instead of the App). Then, we can pull view furnishing out of the container entirely and into the newly designed Steward Context #51.