This pull request adds detailed documentation to the src/redux/movies/trending.reducer.js file. The reducer is responsible for managing the state related to trending movies, including the loading status, fetched data, and any errors encountered during data retrieval.
Documentation Includes
File-level Overview: A high-level description explaining the reducer’s purpose and functionality within the application.
JSDoc Comments: Added throughout the file to document the reducer function, including details about the parameters, return values, and how state changes are handled.
Action Descriptions: Each action handled by the reducer is explained in detail, describing its effect on the loading, data, and error state properties.
Overview
This pull request adds detailed documentation to the
src/redux/movies/trending.reducer.js
file. The reducer is responsible for managing the state related to trending movies, including the loading status, fetched data, and any errors encountered during data retrieval.Documentation Includes
loading
,data
, anderror
state properties.This pull request resolves issue #82