Correct LifecycleStore docs
This commit is contained in:
parent
6218a8615a
commit
2400efa92b
1 changed files with 0 additions and 7 deletions
|
@ -20,13 +20,6 @@ import {Store} from 'flux/utils';
|
||||||
* A class for storing application state to do with login/registration. This is a simple
|
* A class for storing application state to do with login/registration. This is a simple
|
||||||
* flux store that listens for actions and updates its state accordingly, informing any
|
* flux store that listens for actions and updates its state accordingly, informing any
|
||||||
* listeners (views) of state changes.
|
* listeners (views) of state changes.
|
||||||
*
|
|
||||||
* Usage:
|
|
||||||
* ```
|
|
||||||
* lifecycleStore.addListener(() => {
|
|
||||||
* this.setState({ cachedPassword: lifecycleStore.getCachedPassword() })
|
|
||||||
* })
|
|
||||||
* ```
|
|
||||||
*/
|
*/
|
||||||
class LifecycleStore extends Store {
|
class LifecycleStore extends Store {
|
||||||
constructor() {
|
constructor() {
|
||||||
|
|
Loading…
Reference in a new issue