Samuel Degueldre
4415cc8932
[REF] doc: remove references to router and store
...
Owl 2 will not have a router or store implemented inside the library
2022-02-11 10:18:03 +01:00
Géry Debongnie
19a47a7001
[IMP] component: add setup lifecycle hook
2021-02-03 15:32:38 +01:00
Géry Debongnie
9a87b9a4a0
[IMP] hooks: add some building blocks for hooks
...
This commit introduces two new hooks: useComponent, and
useEnv.
2020-12-14 11:53:01 +01:00
Géry Debongnie
c36333dbbc
[CLEANUP] update prettier to v2.0.4
2020-04-21 16:23:31 +02:00
Géry Debongnie
54f5819ef9
[ADD] hooks: add useExternalListener hook
...
It is very useful.
Also, this commit prettifies the code.
closes #608
2020-01-09 14:06:30 +01:00
Géry Debongnie
48744cfa87
[DOC] add hooks explanation, and testing/debug page
...
closes #372
closes #419
2019-11-22 13:41:44 +01:00
Géry Debongnie
263f31fea9
[DOC] miscellaneous improvements
...
including:
- add a link to the tutorial in the main readme page
- remove learning page on 'env', move content on reference page
- add dynamic sub components section in component page
- add reference page on props
- split qweb page into engine/language pages
- move t-key information into qweb language page
2019-11-13 08:49:25 +01:00
Aaron Bohy
7e721a96b5
[IMP] hooks: useRef on component: set el anyway
...
Closes #437
2019-11-06 17:06:37 +01:00
Géry Debongnie
3035a9f009
[DOC] move reference doc in subfolder
2019-10-28 14:23:02 +01:00