[IMP] hooks/Context: add Context and useContext

Closes #310
This commit is contained in:
Géry Debongnie
2019-10-08 09:00:06 +02:00
parent 17ce73e6a9
commit 1c3c2e5c51
8 changed files with 452 additions and 47 deletions
+3
View File
@@ -8,6 +8,7 @@ build applications. Here is a complete representation of its content:
```
owl
Component
Context
QWeb
useState
core
@@ -18,6 +19,7 @@ owl
onWillUnmount
onWillPatch
onPatched
useContext
useState
useRef
useSubEnv
@@ -44,6 +46,7 @@ Note that for convenience, the `useState` hook is also exported at the root of t
- [Animations](animations.md)
- [Component](component.md)
- [Context](context.md)
- [Event Bus](event_bus.md)
- [Hooks](hooks.md)
- [Observer](observer.md)