Design the state, filters, tracking and tests for a hotel booking page.
Unlock detailed company stats for this questionUpgrade
Questions asked about a hotel booking page and React:
- List the core entities for a hotel booking page.
- What are the different ways to store data or manage state in React (local state, props, context API, external libraries like Redux)?
- On the hotel booking page, what are the different ways to store the state of selected filters (state, query params, ...)?
- How would you track funnel conversion, i.e. how many users went through search, view, book and pay, and how many at each stage?
- What are the different testing strategies and best practices for them (unit, integration, screenshot tests, with examples and boundaries)?
- How would you 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
