[IMP] hooks: implement useRef hook

closes #194
This commit is contained in:
Géry Debongnie
2019-09-26 21:56:01 +02:00
parent 91b9e78182
commit 5cdaa7b473
20 changed files with 321 additions and 171 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ const app = new App({ qweb: new QWeb() });
app.mount(document.body);
```
Note that the counter component is made reactive with the `useState` hook.
Note that the counter component is made reactive with the [`useState` hook](doc/hooks.md#usestate).
More interesting examples can be found on the
[playground](https://odoo.github.io/owl/playground) application.