The document defines Redux slices for authentication, courses, viewing courses, cart, and profile. Each slice initializes state, defines reducer functions to update state, and exports actions and the reducer. The auth slice manages login data. The course slice manages steps, course data, and editing. The view course slice tracks course sections and lectures. The cart slice handles adding/removing items and totals. And the profile slice stores user profile information.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
15 views6 pages
Slices
The document defines Redux slices for authentication, courses, viewing courses, cart, and profile. Each slice initializes state, defines reducer functions to update state, and exports actions and the reducer. The auth slice manages login data. The course slice manages steps, course data, and editing. The view course slice tracks course sections and lectures. The cart slice handles adding/removing items and totals. And the profile slice stores user profile information.