Earlier this month I wrote about the interview where I knew the terms and couldn't explain them. Today the course I built around that gap is open to everyone.
The Senior JavaScript Interview has 660+ questions and architecture scenarios on React, Node.js, TypeScript and system design. Each question is tagged Junior, Mid or Senior. You open the course on petarivanov.tech with your personal link, on any device. The reader hides each answer until you've given your own, so you practice the explaining, which is the part that breaks under pressure. You find the questions you can't answer yet before an interviewer does.
What a Senior answer adds
Here's one more question from the free chapters, tagged Senior. "Two requests both read-modify-write the same state and clobber each other. What's this called and how do you prevent it?"
Calling it a race condition is the easy part. The senior answer earns its tag by fixing it at each layer where it can happen.
In the UI. Cancel stale work with
AbortController, so only the newest result applies.In one process. Serialize access with a queue or a mutex. That doesn't stop a second instance, so with several instances you lock the row in the database or use a distributed lock.
In the database. Skip the read-modify-write in app code. Use an atomic update, a transaction, or a version column that makes the update fail if the row changed after you read it.
What's inside
Questions on closures and the event loop, React rendering and Server Components, Node.js API design, databases, security and testing.
49 architecture scenarios with answers. Each one ends with what the interviewer is grading.
A chapter on AI-assisted engineering, including how to answer "How do you use AI?" in a senior interview.
A 40-question final exam to find the gaps that are left.
Can't you ask ChatGPT for free? I tested that before launch. I gave 20 questions from the course to a free AI model and compared its answers with the course's. On concept questions it was often as good. The four answers where the course came out clearly ahead were all architecture scenarios. In those, the AI hedged on the calls an interviewer grades, like a payment call that times out and leaves you unsure whether the card was charged. That's why the course has 49 of them.
Two tiers, at launch prices until Monday 30 November at 23:59 PT
Standard, $79 (then $119). Chapters 1 to 36 and the final exam, in the web reader, plus an EPUB.
Premium, $149 (then $229). Everything in Standard, plus Part 6 on the interview itself, and the Complete Packages of The Conscious React and The Conscious Node, $118 if bought separately.
Part 6 covers behavioral questions, a framework for the system design round, and guides for LinkedIn, GitHub and side projects. It isn't for you if you've never written React or Node, or if you want LeetCode-style algorithm drills. It covers the other rounds.
"What I like most about The Senior JavaScript Interview is the focus on explaining your reasoning. The answer-first format encourages you to pause and think before checking the explanation, and the architecture scenarios bring practical trade-offs into the conversation."
Venelin K., founder of Directify
If you'd like to check the format first, the 3 free chapters are on the same page.
There's a 30-day money-back guarantee. Reply to your receipt for a full refund. Updates are free for the life of the product.
Paying from a learning budget? Reply to your receipt and I'll send an invoice with your company's details. For a team purchase, write to me at info@petarivanov.tech.
If you already bought it during early access, thank you, and you can skip this one.
Thank you for supporting this newsletter.
Petar

