Design a autocomplete widget / Typeahead widget | Frontend System Design Interview Question

preview_player
Показать описание
In this video, I talked about a frontend system design question to design your own autocomplete/typeahead widget

0:36 Introduction
0:54 Requirements
1:24 Component Architecture
2:19 Component APIs - Props & States
3:51 Data Flow & APIs
4:24 Data Flow & APIs improvements
5:04 React useDebounce hook
5:24 What to do when there are multiple inflight XHR requests
6:05 Client side cache
6:57 Client side cache - more optimizations
7:19 Other considerations
7:29 Accessibility

Use this affiliate link to get a discounted system design course:

#systemdesign #FrontendSystemDesign #frontend #frontenddeveloper #web #webdesign #webdevelopment #HLD #frontend #lowLevelDesign #interviewQuestions #autocomplete #TypeAhead #carousel #Suggestions #coding
Рекомендации по теме
Комментарии
Автор

Timeline:
0:36 Introduction
0:54 Requirements
1:24 Component Architecture
2:19 Component APIs - Props & States
3:51 Data Flow & APIs
4:24 Data Flow & APIs improvements
5:04 React useDebounce hook
5:24 What to do when there are multiple inflight XHR requests
6:05 Client side cache
6:57 Client side cache - more optimizations
7:19 Other considerations
7:29 Accessibility

frontendjirachi
Автор

A more practical or standard approach to dealing with duplications in word matching is by using "Trie". You may get some points if you purpose it in your interview.

aaw
Автор

Great video! ! It would be better if you could slow down a bit and explain more in details.

jing