Add reducers descriptions

This commit is contained in:
Qolzam
2017-07-14 13:05:51 +04:30
parent 3ca1f97e40
commit cd0255c307

View File

@@ -1,3 +1,47 @@
# Reducers
This layer is included reducers of entities. [Reducers](http://redux.js.org/docs/basics/Reducers.html) specify how the application's state changes in response.
## authorizeReducer.jsx
This reducer is responsible to change user authorization state on reducer.
## circleReducer.jsx
This reducer is responsible to change user's circle state on reducer, insert/update/delete circle and insert/update/delete follower/following.
## commentReducer.jsx
This reducer is responsible to change user comment state on reducer, insert/update/delete comment.
## fileReducer.jsx
This reducer is responsible to change files state on reducer.
## globalReducer.jsx
This reducer is responsible to change global states on reducer. Like changing loding visibility or notification text.
## imageGalleryReducer.jsx
This reducer is responsible to change images state on reducer, insert/update/delete image and cache image's url.
## imageUploaderReducer.jsx
This reducer is responsible to change user upload state on reducer.
## notifyReducer.jsx
This reducer is responsible to change user notification state on reducer, insert/update/delete notificaion and change seen state for notification.
## postReducer.jsx
This reducer is responsible to change user post state on reducer, insert/update/delete post.
## userReducer.jsx
This reducer is responsible to change user information state on reducer, insert/update/delete user information.
## voteReducer.jsx
This reducer is responsible to change user vote state on reducer. insert/update/delete vote.