Aaron Bohy
05a678c039
[IMP] component: get env from constructor
...
closes #430
2019-11-01 08:39:35 +01:00
Géry Debongnie
ea1376d0ca
[FIX] tools: make benchmarks work on firefox
...
Firefox does not support the static keyword yet, so the benchmark code should be modified to make it work.
2019-10-31 12:32:26 +01:00
Aaron Bohy
9106c19066
[IMP] component: simplify constructor API
...
It now takes two arguments: parent (optional, only for non-root
components) and props (optional). In the case of the root component,
the env is taken from the config (config.defaultEnv). If it doesn't
exists, the default env is created on the fly.
Closes #306
2019-10-30 15:09:10 +01:00
Géry Debongnie
2279dafbec
[IMP] qweb: add an option to setup a translate function
...
closes #393
2019-10-28 11:32:41 +01:00
Géry Debongnie
0aeebd7b6e
[REF] utils: rename loadTemplates into loadFile
...
closes #351
2019-10-18 08:05:26 +02:00
Géry Debongnie
5cdaa7b473
[IMP] hooks: implement useRef hook
...
closes #194
2019-09-27 11:20:08 +02:00
Géry Debongnie
5335fb8fba
[IMP] components: add hooks mechanism
...
part of #194
2019-09-27 11:20:08 +02:00
Géry Debongnie
e1acf66143
[IMP] component: components key is now static
...
This is a breaking change!
closes #279
2019-09-11 11:18:49 +02:00
Géry Debongnie
fd0fb5be00
[REF] observer: refactor observer using proxy
...
closes #253
2019-08-22 14:22:20 +02:00
Géry Debongnie
b30b72fc36
[FIX] update benchmark application
2019-08-22 13:05:37 +02:00
Géry Debongnie
af7520d869
[REF] *: reformat with prettier and printWidth=100
...
closes #214
2019-06-28 10:33:13 +02:00
Géry Debongnie
e6a5934162
[REF] component: use 'component' instead of 'widget'
2019-06-20 12:31:00 +02:00
Géry Debongnie
1f0457f69b
[REF] tools: use t-model in benchmarks
2019-06-14 15:01:29 +02:00
Géry Debongnie
2840794fa2
[IMP] tools: rework benchmarks application
...
closes #130
2019-06-13 11:41:49 +02:00
Géry Debongnie
9a3e1ed99e
[FIX] benchmarks: two small fixes
2019-06-11 11:29:31 +02:00
Géry Debongnie
e1bcea77b5
[REF] tools: rename extras into tools
2019-06-10 09:31:06 +02:00