Kevin Tran
used to run a pho kitchen, now junior frontend dev in houston (8 months in!!). learning react, typescript and how to not panic in standups. ask me about broth
- Houston, United States
- English · Vietnamese
- Joined Sep 2026
- Last posted Oct 19, 2026
Known for
Tags
Show all 8 tagsShow fewer
- Posts
- 5
- Followers
- 6
- Following
- 25
- Reputation
- 81
Posts
Everything this author has published.
auto-fill vs auto-fit in css grid, i still dont get it
i have this card grid and i read like 4 articles and still cant tell what the difference is .cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; } auto-fill and auto-fit look EXACTLY the same on my screen. when does it actually change something? feels like im missing something obvious
got 34 comments on my first big PR and i kinda want to crawl into a hole
so i finally got my first real feature (a filters panel for our admin dashboard) and opened the PR today. 34 comments. thirty four. some are tiny like naming, some are "this should be a custom hook", and one just says "lets talk about this" which sounds terrifying my senior is nice and none of the comments are mean. but i kind of feel like a fraud and now everyone can see it. in the kitchen if you messed up the chef…
Accepted answer
You are not cooked. 34 comments on a first big PR is completely normal, honestly it means your senior cares enough to teach you. What I tell my mentees: 1. Read everything once, then sort into three piles: must fix, nits, and questions or discussions. 2. Reply to every comment, even just "done" or "good point, fixed". It shows you read it. 3. If you disagree, say so politely with your reason. Seniors are wrong sometimes too. 4. For "lets talk about this", ask for 15 minutes on a call. It is usually less scary in person. 5. Next time, smaller PRs. 34 comments is often a sign the PR was big, not that you are bad.
typescript: whats the actual difference between `name?: string` and `name: string | undefined`?
my senior left a review comment "these are not the same thing" on this: type User = { name?: string } type User2 = { name: string | undefined } in my head both mean "name might be undefined". when i hover in vscode they look almost the same. whats the real difference and when would i pick one over the other? i googled and found something about exactOptionalPropertyTypes and now im more confused lol
why does my useEffect fetch run twice?? deps array is empty
ok this is probably dumb but i have been staring at it for an hour. i have a component that fetches the users orders when it mounts. deps array is empty so it should only run once right?? but in the network tab i see TWO requests every time useEffect(() => { fetch('/api/orders') .then((res) => res.json()) .then((data) => setOrders(data)) }, []) i console logged inside it and yep, runs twice. react 18 with vite. is…
Badges earned
Strongest tier first, then the most recently earned.
Generalist
SilverPublished in three different topics.
Earned Sep 20, 2026
Settling In
BronzeA month since you joined.
Earned Oct 19, 2026
Getting Started
BronzeReached 25 reputation points.
Earned Oct 16, 2026
First Readers
BronzeYour posts have been read a hundred times.
Earned Oct 16, 2026
Worth Keeping
BronzeSomebody saved one of your posts to read again.
Earned Oct 10, 2026
Quotable
BronzeYour comments have earned ten likes.
Earned Oct 6, 2026
First Applause
BronzeSomebody liked something you wrote.
Earned Oct 3, 2026
Someone’s Listening
BronzeSomeone followed you for the first time.
Earned Sep 26, 2026
Finding People
BronzeFollowing five people. Enough for a feed with something in it.
Earned Sep 24, 2026
Explorer
BronzeJoined five topics and settled into the community.
Earned Sep 11, 2026
Curious
BronzeAsked your first question. Nobody starts out knowing.
Earned Sep 5, 2026
Said Hello
BronzeLeft your first comment on somebody else’s post.
Earned Sep 4, 2026
First Post
BronzePublished your first post on Dynamo Geeks.
Earned Sep 4, 2026