mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
31b57cbb40
Before this commit, Owl had a bad interaction with the static defaultProps code. The props comparison would be done with the new props object (unmodified) and the current props object (with default props applied), so the comparison would always return false, which in turn, causes additional useless renderings. This commit modifies component node to keep a reference to the (unmodified) props object so we can compare it as expected.