~/talk

Developing a clean architecture-inspired React application with MVVM

Talkat code.talks 2023 · 2023-09-14..09-15· [react, frontend-architecture]
links:none on file
slides:none on file

Builds a working to‑do CRUD app using React, hooks and a clean-architecture-inspired layout: domain entities (Todo), use cases (get, create, update, delete), a repository that talks to a localStorage data source, and pages wired by view models. Uses a DI container (example library named in the repo) so view models receive use cases via injection, view models call use cases in useEffect and expose sorted lists and delete handlers. Code and template live at https://github.com/spaceteams/clean-architecture-inspired-react-template.

AI-written summary · about

  1. 0:00Introduction
  2. 2:58Problems with React apps
  3. 4:45Clean architecture layers
  4. 7:55MVVM pattern benefits
  5. 10:45Setting up React app
  6. 13:34Project structure
  7. 16:19Data flow and repository
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.