Géry Debongnie
1ae9d514b9
[IMP] component: use reactivity to allow shallow renderings
...
With this commit, component only render child
components if they have different props (shallow
equality). Otherwise, we trust the reactivity
system to make sure that all impacted components
are updated
2022-02-25 10:32:25 +01:00
Samuel Degueldre
a221411938
[FIX] compiler: do not pass dynamic props object as is
...
The child receiving the props can observe changes made to the passed
t-props object which is not desirable.
2022-02-11 10:46:44 +01:00
Géry Debongnie
99b5e9ec55
[FIX] typing: Component class should be generic on Props and Env
...
Otherwise, it prevents proper typing with typescript
2022-02-11 10:46:44 +01:00
Samuel Degueldre
f3555cfae0
[IMP] misc: update typescript to 4.5.2
2022-02-11 10:41:18 +01:00
Géry Debongnie
1f6e84d141
[FIX] unskip tests
2022-02-11 10:41:18 +01:00
Mathieu Duckerts-Antoine
b6eb4d009e
[IMP] qweb: t-props directive
...
We reimplement the directive "t-props" and add some tests for it.
2022-02-11 10:20:09 +01:00