mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
[DOC] Add a notice to step 9
There are two deleteTask functions in step 9. This will make sure the developer/student does not miss one of those.
This commit is contained in:
committed by
Joseph Caburnay
parent
9fe8e93980
commit
de84075c11
@@ -502,6 +502,10 @@ deleteTask(task) {
|
||||
Notice that the `onDelete` prop is defined with a `.bind` suffix: this is a special
|
||||
suffix that makes sure the function callback is bound to the component.
|
||||
|
||||
Notice also that we have two functions named `deleteTask`. The one in the Task
|
||||
component just delegates the work to the Root component that owns the task list
|
||||
via the `onDelete` property.
|
||||
|
||||
## 10. Using a store
|
||||
|
||||
Looking at the code, it is apparent that all the code handling tasks is scattered
|
||||
|
||||
Reference in New Issue
Block a user