Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Mention how resources could help with implementation with this later.
  • Loading branch information
NullVoxPopuli authored Jul 13, 2025
commit 6690f14e1551a8099b54f79008834bd27d56b0e0
10 changes: 8 additions & 2 deletions text/1118-add-helper-manager-for-service.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,9 +201,15 @@ Update `@ember/service` docs with template examples. Add Guides section on "Serv

## Alternatives
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

write about how service can actually be a resource


Keep requiring backing class injection. Maintains separation but creates boilerplate.
- Keep requiring backing class injection. Maintains separation but creates boilerplate.
This leads to utilities like [service in reactiveweb](https://reactive.nullvoxpopuli.com/functions/resource_service.service.html)


- There could be a future where services are user-land definable as _Resources_, as shown in [RFC #1122: Resources](https://github.com/emberjs/rfcs/pull/1122).|
Since resources _are_ helpers (by definition and implementation), the way we access singleton values on the application would be the same in JavaScript as in the component template.



This leads to utilities like [service in reactiveweb](https://reactive.nullvoxpopuli.com/functions/resource_service.service.html)

## Unresolved questions

Expand Down