diff --git a/doc/miscellaneous/why_owl.md b/doc/miscellaneous/why_owl.md index 3996cca9..d146d645 100644 --- a/doc/miscellaneous/why_owl.md +++ b/doc/miscellaneous/why_owl.md @@ -61,14 +61,14 @@ because a lot of the state is hidden in their internals. React or Vue have a huge community, and a lot of effort have been made into their tooling. This is wonderful, but at the same time, a pretty big issue for Odoo: -since the assets are totally dynamic (and could change whenever the user install -or remove an addon), we need to have all that kind of tooling on the production +since the assets are totally dynamic (and could change whenever the user installs +or removes an addon), we need to have all that kind of tooling on the production servers. This is certainly not ideal. Also, this makes it very complicated to setup Vue or React tools: Odoo code is not a simple file that import other files. It changes all the time, assets are bundled differently in different contexts. This is the reason why Odoo has -its own module system, which are resolve at runtime, by the browser. The +its own module system, which are resolved at runtime, by the browser. The dynamic nature of Odoo means that we often need to delay work as late as possible (in other word, we want a JIT user interface!) @@ -78,12 +78,12 @@ deploy. Using React without JSX, or Vue without vue file is not very appealing. At the same time, Owl is designed to solve this issue: it compiles templates by the browser, it doesn't need much code for that, since we use the XML parser built into each browser. Owl works with or without any additional tooling. It -can use template strings to write single file component, and is easy to integrate +can use template strings to write single file components, and is easy to integrate in any html page, with a simple `