mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
08cb83149e
We don't see any usecase for it, it makes the code more complex, and there were still potential unresolved concurrency issues with it. Part of task #295
🦉 OWL Documentation 🦉
Owl Content
Owl is a javascript library that contains some core classes and function to help build applications. Here is a complete representation of its content:
owl
Component
Context
QWeb
Store
useState
config
mode
env
core
EventBus
Observer
hooks
onWillStart
onMounted
onWillUpdateProps
onWillPatch
onPatched
onWillUnmount
useContext
useState
useRef
useSubEnv
useStore
useDispatch
useGetters
misc
AsyncRoot
router
Link
RouteComponent
Router
tags
xml
utils
debounce
escape
loadJS
loadFile
shallowEqual
whenReady
Note that for convenience, the useState hook is also exported at the root of the owl object.
Learning Resources
- Quick Start: create an (almost) empty Owl application
- Environment: what it is and what it should contain
Reference
- Animations
- Component
- Configuration
- Context
- Environment
- Event Bus
- Hooks
- Misc
- Observer
- QWeb
- Router
- Store
- Tags
- Utils
Miscellaneous
Architecture
This section explains in more detail the inner workings of Owl. It is more useful for people working on Owl code.