Reactivity: Services
Open
design
- Dominant language
- TypeScript
- Stars
- 22.6k
- Forks
- 4.2k
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 15
Description
Some basic notes:
- A *service* is "just a resource constructor" (with zero arguments)
- An *owner* is a context that instantiates resources as singletons
- An *app* is a special context managed by the framework (an *engine* is a special kind of *app*)
- An object is a *framework object* if it's associated with an owner
- The `@service` decorator can be applied to any framework object, and instantiates a resource constructor in the context of the owner associated with the framework object
Contributor guide
Assessment
This issue has not been assessed yet.