# akshaykishorchauhan/pcf-beginners-guide architecture

> Architecture diagram of the GitHub repository akshaykishorchauhan/pcf-beginners-guide, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-13). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/akshaykishorchauhan/pcf-beginners-guide
- Repository: https://github.com/akshaykishorchauhan/pcf-beginners-guide

## Overview

This repository is a set of Power Apps Component Framework tutorial episodes, not one integrated application. The user-facing path progresses from a basic standard control (EP2), to a React “Hello World” control (EP3), then interactive bound text inputs (EP4–EP5), and finally a Fluent UI fruit dropdown with multi-select (EP6). Source excerpts show each control’s lifecycle and React rendering; capabilities described only in the README, such as charts and maps, are tutorial topics rather than implemented components here.

Main entry points: [`EP4/MyFirstComponent/index.ts`](https://github.com/akshaykishorchauhan/pcf-beginners-guide/blob/main/EP4/MyFirstComponent/index.ts) (Bound text control), [`EP5/MyFirstComponent/index.ts`](https://github.com/akshaykishorchauhan/pcf-beginners-guide/blob/main/EP5/MyFirstComponent/index.ts) (Styled text control), [`EP6/MyFirstComponent/index.ts`](https://github.com/akshaykishorchauhan/pcf-beginners-guide/blob/main/EP6/MyFirstComponent/index.ts) (Dropdown control), [`EP3/MyFirstComponent/index.ts`](https://github.com/akshaykishorchauhan/pcf-beginners-guide/blob/main/EP3/MyFirstComponent/index.ts) (Hello World control)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_framework["PCF controls"]
  node_ep2["Standard control<br/>[index.ts]"]
  node_ep3["Hello World control<br/>[index.ts]"]
  node_ep4["Bound text control<br/>[index.ts]"]
  node_ep5["Styled text control<br/>[index.ts]"]
  node_ep6["Dropdown control<br/>[index.ts]"]
end

subgraph group_views["React views"]
  node_ep3view["Hello World view<br/>[HelloWorld.tsx]"]
  node_ep4view["Text input view<br/>[HelloWorld.tsx]"]
  node_ep5view["Fluent text view<br/>[HelloWorld.tsx]"]
  node_ep6view["Fruit dropdown view<br/>[HelloWorld.tsx]"]
end

node_powerapps(("Power Apps host"))

node_powerapps -->|"hosts lifecycle"| node_ep2
node_powerapps -->|"hosts lifecycle"| node_ep3
node_ep3 -->|"renders"| node_ep3view
node_powerapps -->|"hosts lifecycle"| node_ep4
node_ep4 -->|"renders"| node_ep4view
node_ep4view -->|"sends input"| node_ep4
node_ep4 -->|"notifies output"| node_powerapps
node_powerapps -->|"hosts lifecycle"| node_ep5
node_ep5 -->|"renders"| node_ep5view
node_ep5view -->|"sends input"| node_ep5
node_ep5 -->|"notifies output"| node_powerapps
node_powerapps -->|"hosts lifecycle"| node_ep6
node_ep6 -->|"renders"| node_ep6view
node_ep6view -->|"sends selection"| node_ep6
node_ep6 -->|"notifies output"| node_powerapps

click node_ep2 "https://github.com/akshaykishorchauhan/pcf-beginners-guide/blob/main/EP2/HelloPCF/index.ts"
click node_ep3 "https://github.com/akshaykishorchauhan/pcf-beginners-guide/blob/main/EP3/MyFirstComponent/index.ts"
click node_ep3view "https://github.com/akshaykishorchauhan/pcf-beginners-guide/blob/main/EP3/MyFirstComponent/HelloWorld.tsx"
click node_ep4 "https://github.com/akshaykishorchauhan/pcf-beginners-guide/blob/main/EP4/MyFirstComponent/index.ts"
click node_ep4view "https://github.com/akshaykishorchauhan/pcf-beginners-guide/blob/main/EP4/MyFirstComponent/HelloWorld.tsx"
click node_ep5 "https://github.com/akshaykishorchauhan/pcf-beginners-guide/blob/main/EP5/MyFirstComponent/index.ts"
click node_ep5view "https://github.com/akshaykishorchauhan/pcf-beginners-guide/blob/main/EP5/MyFirstComponent/HelloWorld.tsx"
click node_ep6 "https://github.com/akshaykishorchauhan/pcf-beginners-guide/blob/main/EP6/MyFirstComponent/index.ts"
click node_ep6view "https://github.com/akshaykishorchauhan/pcf-beginners-guide/blob/main/EP6/MyFirstComponent/HelloWorld.tsx"

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_ep2,node_ep3,node_ep4,node_ep5,node_ep6 toneBlue
class node_ep3view,node_ep4view,node_ep5view,node_ep6view toneAmber
class node_powerapps toneIndigo
```

## Components

### PCF controls

- [Standard control](https://github.com/akshaykishorchauhan/pcf-beginners-guide/blob/main/EP2/HelloPCF/index.ts): `EP2/HelloPCF/index.ts`
- [Hello World control](https://github.com/akshaykishorchauhan/pcf-beginners-guide/blob/main/EP3/MyFirstComponent/index.ts): `EP3/MyFirstComponent/index.ts`
- [Bound text control](https://github.com/akshaykishorchauhan/pcf-beginners-guide/blob/main/EP4/MyFirstComponent/index.ts): `EP4/MyFirstComponent/index.ts`
- [Styled text control](https://github.com/akshaykishorchauhan/pcf-beginners-guide/blob/main/EP5/MyFirstComponent/index.ts): `EP5/MyFirstComponent/index.ts`
- [Dropdown control](https://github.com/akshaykishorchauhan/pcf-beginners-guide/blob/main/EP6/MyFirstComponent/index.ts): `EP6/MyFirstComponent/index.ts`

### React views

- [Hello World view](https://github.com/akshaykishorchauhan/pcf-beginners-guide/blob/main/EP3/MyFirstComponent/HelloWorld.tsx): `EP3/MyFirstComponent/HelloWorld.tsx`
- [Text input view](https://github.com/akshaykishorchauhan/pcf-beginners-guide/blob/main/EP4/MyFirstComponent/HelloWorld.tsx): `EP4/MyFirstComponent/HelloWorld.tsx`
- [Fluent text view](https://github.com/akshaykishorchauhan/pcf-beginners-guide/blob/main/EP5/MyFirstComponent/HelloWorld.tsx): `EP5/MyFirstComponent/HelloWorld.tsx`
- [Fruit dropdown view](https://github.com/akshaykishorchauhan/pcf-beginners-guide/blob/main/EP6/MyFirstComponent/HelloWorld.tsx): `EP6/MyFirstComponent/HelloWorld.tsx`

### Other components

- **Power Apps host**

## Connections

- Power Apps host → Standard control: hosts lifecycle (evidence: `EP2/HelloPCF/index.ts`)
- Power Apps host → Hello World control: hosts lifecycle (evidence: `EP3/MyFirstComponent/index.ts`)
- Hello World control → Hello World view: renders (evidence: `EP3/MyFirstComponent/index.ts`)
- Power Apps host → Bound text control: hosts lifecycle (evidence: `EP4/MyFirstComponent/index.ts`)
- Bound text control → Text input view: renders (evidence: `EP4/MyFirstComponent/index.ts`)
- Text input view → Bound text control: sends input (evidence: `EP4/MyFirstComponent/HelloWorld.tsx`)
- Bound text control → Power Apps host: notifies output (evidence: `EP4/MyFirstComponent/index.ts`)
- Power Apps host → Styled text control: hosts lifecycle (evidence: `EP5/MyFirstComponent/index.ts`)
- Styled text control → Fluent text view: renders (evidence: `EP5/MyFirstComponent/index.ts`)
- Fluent text view → Styled text control: sends input (evidence: `EP5/MyFirstComponent/HelloWorld.tsx`)
- Styled text control → Power Apps host: notifies output (evidence: `EP5/MyFirstComponent/index.ts`)
- Power Apps host → Dropdown control: hosts lifecycle (evidence: `EP6/MyFirstComponent/index.ts`)
- Dropdown control → Fruit dropdown view: renders (evidence: `EP6/MyFirstComponent/index.ts`)
- Fruit dropdown view → Dropdown control: sends selection (evidence: `EP6/MyFirstComponent/HelloWorld.tsx`)
- Dropdown control → Power Apps host: notifies output (evidence: `EP6/MyFirstComponent/index.ts`)
