How imrahuldaksh/stickynotes works
This is a browser-based sticky-notes app: users add notes, edit titles and content, choose colors, and delete notes; note state persists in browser local storage. The graph follows React mounting, context-backed state, and the note interaction path. The README describes only the Create React App scaffold, so product capabilities are derived from the sampled implementation; no external service is shown.
Main entry points: StickyNote.js Note editor · StickyNotesContext.js Notes context · App.js App composition · Header.js Header actions
Components 12
App entry
- React mount
src/index.js - App composition
src/App.js
Notes interface
- Header actions
src/components/Header.js - Empty state
src/components/EmptyNotes.js - Notes grid
src/components/StickyNotesGrid.js - Note editor
src/components/StickyNote.js - Color picker
src/components/ColorCustomizer.js - SVG icons
src/components/SvgIcons.js
State and persistence
- Debounce hook
src/hooks/useDebounce.js - Notes context
src/context/StickyNotesContext.js - Browser localStorage
Other components
- User
Connections 18
- User → Header actions: adds notes
src/components/Header.js - User → Note editor: edits notes
src/components/StickyNote.js - React mount → App composition: renders
src/index.js - App composition → Notes context: provides state
src/App.js - App composition → Header actions: renders
src/App.js - App composition → Notes grid: renders
src/App.js - App composition → Empty state: renders
src/App.js - Header actions → Notes context: adds note
src/components/Header.js - Empty state → Notes context: adds note
src/components/EmptyNotes.js - Notes grid → Notes context: reads and updates
src/components/StickyNotesGrid.js - Notes grid → Note editor: renders
src/components/StickyNotesGrid.js - Note editor → Debounce hook: debounces text
src/components/StickyNote.js - Note editor → Notes context: sends updates
src/components/StickyNote.js - Note editor → Color picker: renders
src/components/StickyNote.js - Note editor → SVG icons: renders
src/components/StickyNote.js - Notes context → Browser localStorage: reads and writes
src/context/StickyNotesContext.js - Header actions → SVG icons: renders
src/components/Header.js - Empty state → SVG icons: renders
src/components/EmptyNotes.js