🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

nger-store

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nger-store

> TODO: description

latest
Source
npmnpm
Version
1.0.15
Version published
Maintainers
1
Created
Source

nger-store

状态管理, Reactive State for nger

ngrx移植过来的

import { Action } from 'nger-store';
export enum ActionTypes {
  Increment = '[Counter Component] Increment',
  Decrement = '[Counter Component] Decrement',
  Reset = '[Counter Component] Reset',
}
export class Increment implements Action {
  readonly type = ActionTypes.Increment;
}
export class Decrement implements Action {
  readonly type = ActionTypes.Decrement;
}
export class Reset implements Action {
  readonly type = ActionTypes.Reset;
}

FAQs

Package last updated on 08 May 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts