Home Reference Source Test Repository

References

Function Summary

Static Public Function Summary
public

Generate an user log in component

public

Generate a form

public

Generate a link to change filter value

public

Temporary home page

public

Main wrapper

public

Generate site navigation

public

Error 404 fallback page

public

Todo(props: Object): ReactDOM

Generate a clickable todo item with a label and an delete button

public

Generate the whole todo application

public

Generate a list of todo filter links

public

Generate a footer for the todo list

public

Generate a form to submit a new todo

public

Generate a list of todos

public

User(props: userObj): ReactDOM

Generate user item with a picture and a link to the profile

public

Generate a header to display list title and button to launch user query

public

Generate a visual error when request fails

public

Generate a header to display list title and button to launch user query

public

Generate a list of users

public

addTodo(label: string): Object

action to add a todo

public

authReducer(state: Object, action: Object): Object

reducer for auth actions

public

action to clear completed todos

public

fetchUsers(since: number, perPage: number): Object

action to fetch user

public

Epic observer that query user API when triggered

public

fetchUsersError(error: *): Object

action to provide users error logs to state

public

action to provide users data to the state

public

filter a list of given todos

public

logIn(login: string, password: string): Object

action to log user in

public

logInEpic(action$: Object): Object

Epic observer that query auth API when triggered

public

action to notify user log in failure

public

action to notify user log in success

public

action to log user out

public

action to remove a todo

public

action to set a filter

public

reducer for filter actions

public

reducer for todo actions

public

action to toggle a todo

public

usersReducer(state: Object, action: Object): Object

reducer for users actions

Variable Summary

Static Public Variable Summary
public

constant

public

constant

public

constant

public

constant

public

constant

public

constant

public

constant

public

constant

public

constant

public

constant

public

constant

public

constant

public

Represent the initial state of the redux application

public

list of request states

public

array containing all epics

public

Return all the reducers combined

public

list of todo filters

Typedef Summary

Static Public Typedef Summary
public
public
public

External Summary

Static Public External Summary
public

XML