Angular NgRx Selector

    0

    0

    Jose Romero

    Angular TypeScript Recipes

    The code exports a custom selector that can be used to get the value of a property on a FeatureState object.

    Library: angular

    Shortcut: angular.ngrx.selector

    export const selectFeatureProperty = createSelector(
      selectFeature,
      (state: FeatureState) => state.property
    );
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.