You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This discussion was converted from issue #4462 on July 26, 2024 13:09.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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
Beta Was this translation helpful? Give feedback.
All reactions