odoo / owl

OWL: A web framework for structured, dynamic and maintainable applications
https://odoo.github.io/owl/
Other
1.14k stars 344 forks source link

[IMP] app: allow to instantiate templates lazily #1563

Closed pro-odoo closed 10 months ago

pro-odoo commented 10 months ago

With this commit, the templates that are given while instantiating the App class can be an object with templates not yet parsed (i.e. string, not Document). This allow to instantiate the App class with templates that are not yet parsed, and these templates will be parsed only when needed.

Part of task-id 3601257