[DOC] update the documentation to new config and env

part of #306
This commit is contained in:
Géry Debongnie
2019-10-30 10:22:59 +01:00
parent 5ba73cc09d
commit 0addca63a0
11 changed files with 148 additions and 95 deletions
+2 -1
View File
@@ -274,7 +274,8 @@ class Counter extends Component {
dispatch = useDispatch();
}
const counter = new Counter({ store, qweb });
owl.config.env.store = store;
const counter = new Counter();
```
## Hooks