-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Description
Which @ngrx/* package(s) are relevant/related to the feature request?
signals
Information
Alternative to @ngrx/store selectors with parameters
export const selectTicketById = (id: string) => createSelector( selectEntities, entities => entities[id] );
Something like:
withEntities({entity}), withComputed(({entities) => ({ selectById: (id: string) => computed(() => entities[id]) })
Describe any alternatives/workarounds you're currently using
I get all entities from store in a component with computed filter one by id outside of the store withComputed
I would be willing to submit a PR to fix this issue
- Yes
- No
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels