Topic
Revision map: React → RTK/Query → Next
Definition
A frontend architecture map assigns rendering, client state, server state, routing, and API ownership to distinct tools with clear boundaries.
In simpler words
React renders, Query synchronizes Nest data, RTK holds shared client-only state, and Next provides the app shell.
Use this map before coding so an attractive shortcut does not create two sources of truth.
After this you can
- Explain the state boundary
- Choose the smallest correct tool
Apply the map
React components render props and local UI state.
TanStack Query owns cached data from Nest.
Redux Toolkit owns shared client-only state such as an unfinished composer draft.
Next App Router owns route structure and Server/Client Component boundaries.
Nest owns product APIs, rules, and cookie authentication.
Keep in mind
- Describe ownership before choosing an API or state container.
Test
Check your understanding
At least 10 questions — mix of concept, syntax, practical, and logic. Score ≥80% (enforced by the API) to save progress.
Checking your session…
15 questions · concept 5 · syntax 3 · practical 4 · logic 3
Checking your session…