mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
d043d47754
In some cases, a rendering initiated in some component is then remapped into a larger rendering initiated by some parent. If we have some components which implement shouldUpdate to return false, then the following scenario can happen: - some parent component is mounted (which triggers a rendering with force: true => bypass the shouldUpdate) - some sub component is updated and rerendered, AFTER the previous rendering goes through it - the sub component notices that there is an ongoing rendering, and remaps itself in the parent rendering Before this commit, the new fiber in the subcomponent does not have force flag set to true, so the new rendering for the subcomponent does not go through its own children (if they have shouldUpdate=false) Another more complex kind of scenaria can happen when a remapped rendering happen with sub components with dynamic shouldUpdate. The problem is the same at the end: the new rendering should ignore the shouldUpdate, to make sure we have the last correct information. With this commit, we make sure that the flag of the new fiber is set to true. closes #818
🦉 OWL Documentation 🦉
Learning Owl
Are you new to Owl? This is the place to start!
- Tutorial: create a TodoList application
- Quick Overview
- How to start an Owl project
- How to test Components
- How to write Single File Components
- How to write debug Owl applications
Reference
You will find here a complete reference of every feature, class or object provided by Owl.
- Animations
- Browser
- Component
- Content
- Concurrency Model
- Configuration
- Context
- Environment
- Event Bus
- Event Handling
- Error Handling
- Hooks
- Mounting a component
- Miscellaneous Components
- Observer
- Props
- Props Validation
- QWeb Templating Language
- QWeb Engine
- Router
- Store
- Slots
- Tags
- Utils
Other Topics
This section provides miscellaneous document that explains some topics which cannot be considered either a tutorial, or reference documentation.
- Owl architecture: the Virtual DOM
- Owl architecture: the rendering pipeline
- Comparison with React/Vue
- Why did Odoo built Owl?
Found an issue in the documentation? A broken link? Some outdated information? Please open an issue or submit a PR!