# dryofficer21/alx-react architecture

> Architecture diagram of the GitHub repository dryofficer21/alx-react, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-25). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/dryofficer21/alx-react
- Repository: https://github.com/dryofficer21/alx-react

## Overview

This repository is a sequence of ALX React learning exercises, not one deployed application. Its examples progress from Webpack and basic React rendering through reusable dashboard components, local and shared state, then Redux actions, reducers, selectors, connectors, and providers. The user-facing example workflow is a dashboard that displays notifications, offers login, and conditionally shows a course list. The graph emphasizes that workflow and the curriculum’s major technical branches; many later-stage implementations are represented by their exact tree paths because their source was not sampled.

Main entry points: [`0x09-react_redux_connectors_and_providers/task_1/dashboard/src/App/App.js`](https://github.com/dryofficer21/alx-react/blob/master/0x09-react_redux_connectors_and_providers/task_1/dashboard/src/App/App.js) (Dashboard app), [`0x09-react_redux_connectors_and_providers/task_9/dashboard/src/Notifications`](https://github.com/dryofficer21/alx-react/tree/master/0x09-react_redux_connectors_and_providers/task_9/dashboard/src/Notifications) (Notifications), [`0x09-react_redux_connectors_and_providers/task_9/dashboard/src/App/App.js`](https://github.com/dryofficer21/alx-react/blob/master/0x09-react_redux_connectors_and_providers/task_9/dashboard/src/App/App.js) (Connected app), [`0x08-react_redux_reducer_selector`](https://github.com/dryofficer21/alx-react/tree/master/0x08-react_redux_reducer_selector) (Redux exercises)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_foundations["Webpack and React"]
  node_webpack["Webpack demos"]
  node_reactintro["React entry"]
end

subgraph group_dashboard["Dashboard UI"]
  node_app["Dashboard app<br/>[App.js]"]
  node_notifications["Notifications"]
  node_header["Header"]
  node_login["Login"]
  node_courses["Course list"]
  node_body["Body sections<br/>[BodySection.js]"]
  node_footer["Footer"]
  node_notificationitem["Notification item"]
end

subgraph group_state["State management"]
  node_localstate["Local state<br/>[App.js]"]
  node_appcontext["App context<br/>[AppContext.js]"]
  node_statebody["State body section<br/>[BodySection.js]"]
end

subgraph group_redux["Redux progression"]
  node_reduxactions["Redux actions"]
  node_reduxapp["Connected app<br/>[App.js]"]
  node_reduxnotifications["Redux notifications<br/>[Notifications.js]"]
  node_normalized["Normalized notifications<br/>[Notifications.js]"]
  node_reduxprogress["Redux exercises"]
  node_connectors["Connector exercises"]
end

node_learner(("Learner"))

node_learner -.->|"studies first"| node_webpack
node_learner -.->|"studies next"| node_reactintro
node_learner -.->|"uses dashboard"| node_app
node_app -->|"renders"| node_notifications
node_app -->|"renders"| node_header
node_app -->|"renders"| node_login
node_app -->|"renders"| node_courses
node_app -->|"renders"| node_body
node_app -->|"renders"| node_footer
node_notifications -.->|"uses item"| node_notificationitem
node_localstate -.->|"develops into"| node_appcontext
node_app -->|"dispatches logout"| node_reduxactions
node_reduxapp -->|"renders notifications"| node_reduxnotifications
node_reduxapp -->|"uses container"| node_notifications
node_normalized -.->|"curriculum stage"| node_reduxprogress
node_reduxprogress -.->|"curriculum stage"| node_connectors

click node_webpack "https://github.com/dryofficer21/alx-react/tree/master/0x00-Webpack"
click node_reactintro "https://github.com/dryofficer21/alx-react/tree/master/0x01-react_intro"
click node_app "https://github.com/dryofficer21/alx-react/blob/master/0x09-react_redux_connectors_and_providers/task_1/dashboard/src/App/App.js"
click node_notifications "https://github.com/dryofficer21/alx-react/tree/master/0x09-react_redux_connectors_and_providers/task_9/dashboard/src/Notifications"
click node_header "https://github.com/dryofficer21/alx-react/tree/master/0x09-react_redux_connectors_and_providers/task_1/dashboard/src/Header"
click node_login "https://github.com/dryofficer21/alx-react/tree/master/0x09-react_redux_connectors_and_providers/task_1/dashboard/src/Login"
click node_courses "https://github.com/dryofficer21/alx-react/tree/master/0x09-react_redux_connectors_and_providers/task_1/dashboard/src/CourseList"
click node_body "https://github.com/dryofficer21/alx-react/blob/master/0x05-react_state/task_0/dashboard/src/BodySection/BodySection.js"
click node_footer "https://github.com/dryofficer21/alx-react/tree/master/0x09-react_redux_connectors_and_providers/task_1/dashboard/src/Footer"
click node_notificationitem "https://github.com/dryofficer21/alx-react/blob/master/0x02-react_props/task_5/dashboard/src/Notifications/NotificationItem.js"
click node_localstate "https://github.com/dryofficer21/alx-react/blob/master/0x05-react_state/task_0/dashboard/src/App/App.js"
click node_appcontext "https://github.com/dryofficer21/alx-react/blob/master/0x05-react_state/task_3/dashboard/src/App/AppContext.js"
click node_statebody "https://github.com/dryofficer21/alx-react/blob/master/0x05-react_state/task_3/dashboard/src/BodySection/BodySection.js"
click node_reduxactions "https://github.com/dryofficer21/alx-react/tree/master/0x09-react_redux_connectors_and_providers/task_1/dashboard/src/actions"
click node_reduxapp "https://github.com/dryofficer21/alx-react/blob/master/0x09-react_redux_connectors_and_providers/task_9/dashboard/src/App/App.js"
click node_reduxnotifications "https://github.com/dryofficer21/alx-react/blob/master/0x09-react_redux_connectors_and_providers/task_0/dashboard/src/Notifications/Notifications.js"
click node_normalized "https://github.com/dryofficer21/alx-react/blob/master/0x07-react_redux_action_creator_normalizr/task_0/dashboard/src/Notifications/Notifications.js"
click node_reduxprogress "https://github.com/dryofficer21/alx-react/tree/master/0x08-react_redux_reducer_selector"
click node_connectors "https://github.com/dryofficer21/alx-react/tree/master/0x09-react_redux_connectors_and_providers"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_webpack,node_reactintro toneBlue
class node_app,node_notifications,node_header,node_login,node_courses,node_body,node_footer,node_notificationitem toneAmber
class node_localstate,node_appcontext,node_statebody toneMint
class node_reduxactions,node_reduxapp,node_reduxnotifications,node_normalized,node_reduxprogress,node_connectors toneRose
class node_learner toneIndigo
```

## Components

### Webpack and React

- [Webpack demos](https://github.com/dryofficer21/alx-react/tree/master/0x00-Webpack): `0x00-Webpack`
- [React entry](https://github.com/dryofficer21/alx-react/tree/master/0x01-react_intro): `0x01-react_intro`

### Dashboard UI

- [Dashboard app](https://github.com/dryofficer21/alx-react/blob/master/0x09-react_redux_connectors_and_providers/task_1/dashboard/src/App/App.js): `0x09-react_redux_connectors_and_providers/task_1/dashboard/src/App/App.js`
- [Notifications](https://github.com/dryofficer21/alx-react/tree/master/0x09-react_redux_connectors_and_providers/task_9/dashboard/src/Notifications): `0x09-react_redux_connectors_and_providers/task_9/dashboard/src/Notifications`
- [Header](https://github.com/dryofficer21/alx-react/tree/master/0x09-react_redux_connectors_and_providers/task_1/dashboard/src/Header): `0x09-react_redux_connectors_and_providers/task_1/dashboard/src/Header`
- [Login](https://github.com/dryofficer21/alx-react/tree/master/0x09-react_redux_connectors_and_providers/task_1/dashboard/src/Login): `0x09-react_redux_connectors_and_providers/task_1/dashboard/src/Login`
- [Course list](https://github.com/dryofficer21/alx-react/tree/master/0x09-react_redux_connectors_and_providers/task_1/dashboard/src/CourseList): `0x09-react_redux_connectors_and_providers/task_1/dashboard/src/CourseList`
- [Body sections](https://github.com/dryofficer21/alx-react/blob/master/0x05-react_state/task_0/dashboard/src/BodySection/BodySection.js): `0x05-react_state/task_0/dashboard/src/BodySection/BodySection.js`
- [Footer](https://github.com/dryofficer21/alx-react/tree/master/0x09-react_redux_connectors_and_providers/task_1/dashboard/src/Footer): `0x09-react_redux_connectors_and_providers/task_1/dashboard/src/Footer`
- [Notification item](https://github.com/dryofficer21/alx-react/blob/master/0x02-react_props/task_5/dashboard/src/Notifications/NotificationItem.js): `0x02-react_props/task_5/dashboard/src/Notifications/NotificationItem.js`

### State management

- [Local state](https://github.com/dryofficer21/alx-react/blob/master/0x05-react_state/task_0/dashboard/src/App/App.js): `0x05-react_state/task_0/dashboard/src/App/App.js`
- [App context](https://github.com/dryofficer21/alx-react/blob/master/0x05-react_state/task_3/dashboard/src/App/AppContext.js): `0x05-react_state/task_3/dashboard/src/App/AppContext.js`
- [State body section](https://github.com/dryofficer21/alx-react/blob/master/0x05-react_state/task_3/dashboard/src/BodySection/BodySection.js): `0x05-react_state/task_3/dashboard/src/BodySection/BodySection.js`

### Redux progression

- [Redux actions](https://github.com/dryofficer21/alx-react/tree/master/0x09-react_redux_connectors_and_providers/task_1/dashboard/src/actions): `0x09-react_redux_connectors_and_providers/task_1/dashboard/src/actions`
- [Connected app](https://github.com/dryofficer21/alx-react/blob/master/0x09-react_redux_connectors_and_providers/task_9/dashboard/src/App/App.js): `0x09-react_redux_connectors_and_providers/task_9/dashboard/src/App/App.js`
- [Redux notifications](https://github.com/dryofficer21/alx-react/blob/master/0x09-react_redux_connectors_and_providers/task_0/dashboard/src/Notifications/Notifications.js): `0x09-react_redux_connectors_and_providers/task_0/dashboard/src/Notifications/Notifications.js`
- [Normalized notifications](https://github.com/dryofficer21/alx-react/blob/master/0x07-react_redux_action_creator_normalizr/task_0/dashboard/src/Notifications/Notifications.js): `0x07-react_redux_action_creator_normalizr/task_0/dashboard/src/Notifications/Notifications.js`
- [Redux exercises](https://github.com/dryofficer21/alx-react/tree/master/0x08-react_redux_reducer_selector): `0x08-react_redux_reducer_selector`
- [Connector exercises](https://github.com/dryofficer21/alx-react/tree/master/0x09-react_redux_connectors_and_providers): `0x09-react_redux_connectors_and_providers`

### Other components

- **Learner**

## Connections

- Learner → Webpack demos: studies first
- Learner → React entry: studies next
- Learner → Dashboard app: uses dashboard
- Dashboard app → Notifications: renders (evidence: `0x09-react_redux_connectors_and_providers/task_1/dashboard/src/App/App.js`)
- Dashboard app → Header: renders (evidence: `0x09-react_redux_connectors_and_providers/task_1/dashboard/src/App/App.js`)
- Dashboard app → Login: renders (evidence: `0x09-react_redux_connectors_and_providers/task_1/dashboard/src/App/App.js`)
- Dashboard app → Course list: renders (evidence: `0x09-react_redux_connectors_and_providers/task_1/dashboard/src/App/App.js`)
- Dashboard app → Body sections: renders (evidence: `0x09-react_redux_connectors_and_providers/task_1/dashboard/src/App/App.js`)
- Dashboard app → Footer: renders (evidence: `0x09-react_redux_connectors_and_providers/task_1/dashboard/src/App/App.js`)
- Notifications → Notification item: uses item
- Local state → App context: develops into
- Dashboard app → Redux actions: dispatches logout (evidence: `0x09-react_redux_connectors_and_providers/task_1/dashboard/src/App/App.js`)
- Connected app → Redux notifications: renders notifications
- Connected app → Notifications: uses container (evidence: `0x09-react_redux_connectors_and_providers/task_9/dashboard/src/App/App.js`)
- Normalized notifications → Redux exercises: curriculum stage
- Redux exercises → Connector exercises: curriculum stage
