create a owl-extra
library, with basic useful features
#1567
Labels
enhancement
New feature or request
owl-extra
library, with basic useful features
#1567
Motivation
Owl has been designed to be minimalist. The point is that Owl does not have an opinion on what the best architecture is, and as such, it does not provide any (direct) support for features such as routing, complex state management (store and such), or even a basic component library. Owl 1.0 had a router and a store, but they were removed for owl 2.0, because it seems easy to do it in userspace, especially with the new
reactive
primitive.However, at some point, if owl is to be taken seriously, it is useful to have a basic suite of well designed primitives. Also, it is even a need right now: for example the spreadsheet library has to reimplement a few features such as the dropdown components, which implies managing overlays, positioning and other complex code.
Draft Specification
How it could work?
Ideally, it should probably be in another repository (@odoo/owl-extra), that Odoo would maintain. However, it may be difficult to convince some people, so a fallback could be a new build output (
owl-extra-2.X.Y.js
) ? The question is how to integrate it properly in odoo, with autocompletion and types and such...Content of owl extras
For now, here is what I would like to see:
The text was updated successfully, but these errors were encountered: