Home Identifier Source Repository
public class | source

CountriesStore

Extends:

FluxMapStoreBaseStoreCountableStore → CountriesStore

The Countries store

Constructor Summary

Public Constructor
public

constructor(dispatcher: APIDispatcher)

Sets the dispatcher and appropriate actions for countries

Inherited Summary

From class BaseStore
public

areEqual(state1: object, state2: object): boolean

Determines whether or not the state of this store has changed.

public

reduce(state: object, action: object): object

Used to reduce a stream of actions coming from the dispatcher into a

public

Queries the store for resources matching the source object

From class CountableStore
public

Returns the count for the given query

public

reduce(state: *, action: *): *

Public Constructors

public constructor(dispatcher: APIDispatcher) source

Sets the dispatcher and appropriate actions for countries

Override:

CountableStore#constructor

Params:

NameTypeAttributeDescription
dispatcher APIDispatcher

The dispatcher to register with