Grilled Cheese

ExploreLog inSign up
PhotosVideosAllPeople
LatestRanked
@armenvardanyan.devOct 14, 2026, 12:00 PM

Folks using NgRx Signal Store + events plugin, I am curious how different the experience is from the regular store with reducers and everything

I am also using Signal Store + events, but realized that I have a hard time articulating why (other than recency bias)

#Angular #NgRx #SignalStore

export const cartEvents = eventGroup({
  source: 'Cart Page',
  events: { itemAdded: type<CartItem>(), cleared: type<void>() },
});

export const CartStore = signalStore(
  withState({ items: [] as CartItem[] }),
  withReducer(
    on(cartEvents.itemAdded, ({ payload }, state) => ({ items: [...state.items, payload] })),
    on(cartEvents.cleared, () => ({ items: [] })),
  ),
);Photo, no description
Terms of UsePrivacy PolicyCommunity StandardsHelpGet the app

Grilled Cheese is a product of Village Compute

Version devBuilt at: 2026-10-15 21:53:40 EDT