Ben Awad
Ben Awad's Channel
 
 
 
Coding Interviews are Broken
13,168
Fullstack React GraphQL TypeScript Tutorial
8,788
Why I don't work for FAANG
5,326
How to Configure Vim like VSCode
5,037
Coding Interview with Dan Abramov
4,342
Vim Tutorial
3,875
React Typescript Tutorial
3,855
How to Open Source Like a Pro
3,713
Why React Native is NOT garbage.
3,415
 
VoidLog
AstralLog
DogeLog
 
Coding Interviews are Broken
13,168
Fullstack React GraphQL TypeScript Tutorial
8,788
Why I don't work for FAANG
5,326
How to Configure Vim like VSCode
5,037
Coding Interview with Dan Abramov
4,342
Vim Tutorial
3,875
React Typescript Tutorial
3,855
How to Open Source Like a Pro
3,713
Why React Native is NOT garbage.
3,415
Programmer Explains Programming Memes
3,063
How to Become a Web Developer in 2020
2,858
FizzBuzz - You Suck at Coding [0]
2,733
Software Engineering "Best Practices"
2,707
Serverless Doesn't Make Sense
2,461
Inverting Binary Trees - You Suck at Coding [1]
2,413
React Hooks useContext Tutorial (Storing a User)
2,393
Where to Host a Fullstack Project on a Budget
2,289
VSCode Tinder
2,255
Coding the Next Facebook - 53 days in
2,170
Why I'm a Better Developer than You
2,153
10 Newbie Programming Mistakes
2,135
Introducing VSCode Stories
2,096
Trying Vue.js for the First Time
2,089
Fetch Data from an API in React.js - Part 12
2,049
How to Code a VSCode Extension
2,032
Why I Don't Like Machine Learning
1,819
I Sold VSCode Stories
1,661
 
Profile
 
Name
Ben Awad
Description
I'm a software developer who makes videos about React, React Native, GraphQL, Typescript, Node.js, PostgreSQL, Python, and all things coding.
Subscribers
499K
Subscriptions
Friends
Channel Comments
creatorsremose (4 minutes ago)
Interview for a FRONT-END position -
clem (10 minutes ago)
Do you know what the scariest thing in the world is? Not knowing how to write a React component in a Ben Awad interview.
Knigh7z (17 minutes ago)
33:06 - you'd wrap fetchNextUser in a useCallback if you wanted to satisfy the linter and pass fetchNextUser to the dependency array. This is because the function is re-allocated on render because it's within render scope, and therefore the function reference changes between renders, causing your useEffect to every time (based on shallow comparison of the dep array), so useCallback avoids that and keeps the reference the same between renders.
quirked504 (27 minutes ago)
0:50 Make a counter
JayronWhitehaus (32 minutes ago)
I'd love to see you guys continue this as a series, gradually increasing the difficulty!
richardguerre3475 (46 minutes ago)
I wish every tech interview was as friendly
panjc8543 (51 minutes ago)
i like the fact that clement is humble and admit that he doesn't know about the error upfront
i2awWombat (1 hour ago)
gender: “female”
NickWhite (2 hour ago)
so i work for him and he works for you...? i may have to quit
honglytech (3 hours ago)
Clément's confidence started to increase once he figured out that the bug was from line 31 instead of 32.
habibsspirit (10 hours ago)
Ben is doing the sassy interviewer stereotype perfectly here.
lifetimess (15 hours ago)
thank you, that was so nice! as a junior I feel comforted seeing this type of interview, I could actually answer those questions without even typing the code. now it would be really cool to see something like this for junior+, middle, middle+ etc. levels!
ShaloopShaloop (15 hours ago)
useCallback instead of useRef - it memoizes the fetch function for ref equality, so the effect doesnt rerun on every render. UseCallback will mean that if you eventually do a refactor so the function does depend on some value inside the component, your compiler will yell at you until you include it as a dependency. Useref might solve the problem now, but it can hide future potential dependencies. Also, working with a ref is annoying, constantly looking up .current or forgetting to.
Anonymous11175 (11 hours ago)
At 11:50
sudarshankj (2 hours ago)
fetchNextUser() is a function that gets newly created on every render call since its defined inside the component.
userid get finish at: 0.00 clean innertube fetch finish at: 0.20 main response parse finish at: 0.50 getAdditionalSections finish at: 0.90 applyHTML finish at: 3.10