basic qweb vdom implementation

This commit is contained in:
Géry Debongnie
2019-01-17 18:08:39 +01:00
parent e7415cd811
commit 3a4d1ef1ba
9 changed files with 1210 additions and 21 deletions
+10 -1
View File
@@ -35,4 +35,13 @@ npm run demo:serve
dist/demo
- *watch* recompile the typescript files as soon as they are changed
- *serve* starts a live-server pointing to the dist/demo (which will reload the
page whenever the files are changed)
page whenever the files are changed)
## Notes
Before even thinking about using this in a real scenario:
- check qweb tests and see if it is reasonable
- Note: the compilation of a template should have a unique node (but sub templates
can have multiple roots)
- remove the "if (${exprID} || ${exprID} === 0) {"