Design the state, filters, tracking and tests for a hotel booking page.
Unlock detailed company stats for this questionUpgrade
Cover the following for a hotel booking page built in React:
- The core entities of the page.
- The different ways to store data or manage state in React (local state, props, context API, external libraries like Redux).
- The different ways to store the state of selected filters (state, query params, ...).
- How to track funnel conversion, i.e. how many users went through search, view, book and pay, and how many at each stage.
- The different testing strategies and best practices for them (unit, integration, screenshot tests, with examples and boundaries).
- How to manage test failures that are not caused by your own code (mocking external dependencies, mock servers, retries for flaky tests, making tests independent).
Format · Technical interview.
Community answers
No answers contributed by the community yet.
Related questions
Design a Hotel Booking ServiceDesign a cooking apparatus for the blind.Design a performance tracking app for cyclists.Related courses

Course

Course
Course
