Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Views take up too much memory #52

Open
bradcypert opened this issue Oct 20, 2023 · 0 comments
Open

Views take up too much memory #52

bradcypert opened this issue Oct 20, 2023 · 0 comments
Labels
App Affecting or involving Steward's Application layer. enhancement New feature or request good first issue Good for newcomers Router Affecting or involving Steward's router layer.

Comments

@bradcypert
Copy link
Contributor

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.

@bradcypert bradcypert added enhancement New feature or request good first issue Good for newcomers Router Affecting or involving Steward's router layer. App Affecting or involving Steward's Application layer. labels Oct 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
App Affecting or involving Steward's Application layer. enhancement New feature or request good first issue Good for newcomers Router Affecting or involving Steward's router layer.
Projects
None yet
Development

No branches or pull requests

1 participant