State architecture of a React back office

A architecture exercise of about 30 minutes: read the statement, solve «State architecture of a React back office» in the browser and get a review like in a real interview.

Architecture · 30 min
Loading…

Statement

Design the React frontend of an online shop's back office: an orders list with filters, search, sorting and pagination; a side panel to view and edit an order; and header counters that update on their own. Today everything lives in one huge global context, the page is slow and sometimes shows data from a previous filter. Explain where each piece of state lives, how you load and update data and how you keep the UI fast.