Replies: 1 comment
-
Did you came up with a workaround? I also think #4634 is a duplicate. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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