Videos / Web Dev
Episode 8 of 9 · The interview course
React interview: the coding round Included with a plan
This video is included with a plan. The first three lessons of every track are free, with their boards and videos. A plan unlocks every lesson, board, video, lab and paper for one price.
View plans → Already a member? Sign in
Chapters
Three questions, always 0:00 Who owns the value 0:14 One input, two lines 0:31 Single source of truth 0:47 One object, one handler 1:05 Submit, and reload 1:23 Validation is a pure function 1:38 Touched, or hostile 1:56 Show it, and disable send 2:14 Uncontrolled, with a ref 2:31 The two cases uncontrolled wins 2:48 Submitting, and its flags 3:07 Try, catch, finally 3:25 Four states, not two 3:39 The four zero four that isn't 3:54 The effect, top half 4:13 The effect, bottom half 4:33 The race 4:51 Abort, or just ignore 5:08 UseFetch, top half 5:27 UseFetch, bottom half 5:44 Before and after 6:03 Four states on the screen 6:20 The folder tree 6:39 Recursion is the answer 6:54 The base case first 7:13 And it calls itself 7:30 State lives at the node it describes 7:47 Data down 8:05 Data up 8:25 Lift what two share 8:40 Prop drilling 8:58 Fix one, composition 9:15 Fix two, Context 9:29 A hook that refuses to guess 9:50 Client state and server state 10:07 Four libraries, honestly 10:25 The zero on the screen 10:47 The debounced box 11:07 The list that re-renders on every key 11:24 The portal 11:43 The lazy initialiser 12:02 And it writes back 12:22 The routes 12:41 Params, navigate, state 13:00 Split on routes 13:20 Ten thousand rows 13:39 The one habit 13:57 React interview: the coding round. A React coding round is almost always three things. Build a form. Fetch something and show it. And render a tree. Everything else is a follow up question about those three. This vi
Mark as watched Saved in this browser only.