New courseThe Senior JavaScript Interview

For React and Node.js engineers

AI writes the code. You still make the architecture calls.

Where state lives, where the server boundary goes, what to test, what to log. I'll show you how senior engineers make these calls, with the code to avoid and the code to prefer. Start with two free playbooks.

// fig 0: one feature, two versions
Looks rightAI wrote it
export function OrderSummary({ id }) {  const [order, setOrder] = useState(null);  const [total, setTotal] = useState(0);  useEffect(() => {    fetch(`/api/orders/${id}`)      .then((r) => r.json())      .then((o) => { setOrder(o);        setTotal(sum(o.items)); });  }, [id]);  return <Summary order={order} total={total} />;}
Holds upafter your review
// Server Component: runs on the serverexport async function OrderSummary({ id }) {  const order = await getOrder(id);  const total = sum(order.items);  return <Summary order={order} total={total} />;}// loading.tsx and error.tsx handle the rest
  • 30K+ read The T-Shaped Dev
  • 80K on LinkedIn
  • 9+ years building production systems
  • Author of 2 books

Spoke at GitNation, Geekle, React Day Berlin and DevTalks Romania

New course

Launch prices until 1 Dec

You can build the feature. Can you defend the design?

My new course, The Senior JavaScript Interview, is practice for senior React, Node.js and system design interviews. You answer each question yourself, then open the senior answer and compare.

660+ questions and architecture scenarios, each tagged Junior, Mid or Senior. All 70 scenarios end with what the interviewer is grading.

What you'll be able to do

  • Answer "what would you index?" with what each index costs on every write and how you'd prove it helped.
  • Say when a useEffect is the wrong tool, and where that logic belongs instead.
  • Take a design round from the prompt to a decision. Push back on a risky proposal with reasons, restate what has to stay true, and cover the failure cases.

Launch prices until Tuesday 1 December: $79 for Standard, $149 for Premium. Then $119 and $229.

See what experts are already saying about my work and the course

The problems

Sound familiar?

These four come up again and again in React and Node codebases. All four have a fix you can learn.

01

The AI pull request looks right. You can't tell if it is.

Agents copy the patterns already in your codebase, good ones and bad ones. Reviewing their code is now the job, and it takes judgment about structure.

Fixed by

The Conscious React and The Conscious Node, with AI rules files for Claude Code, Cursor and Copilot

02

Every feature makes the codebase harder to change.

Components grow a prop for every design tweak. The components/ folder turns into a junk drawer. Nobody can say where new state should go.

Fixed by

The Conscious React, chapters 1 and 2

03

In the architecture meeting, you go quiet.

You ship features every week. When the talk turns to trade-offs (where data lives, query builder or ORM, when to split a service), you don't have the words yet.

Fixed by

The Senior JavaScript Interview, or the free playbooks to start

04

It worked in dev. It broke in production.

No timeout on the outbound call, a retry that charges the customer twice, logs nobody can search. Production problems start as design decisions.

Fixed by

The Conscious Node, plus the weekly issue

Watch where state ends up as you ship more features
// fig 1: where state lives

Ship features and watch the wiring.

Drag the slider to ship more features. Flip the switch to see the same app built with the book's rules. Hover or tap a component to trace its wires.

Components wired to the places their state livesIn the AI-generated version, components read and write state in several places at once, and the cart lives in three of them. In the architected version, each component reads from one home.ComponentsWhere state lives<Header /><CartBadge /><ProductList /><Filters /><Checkout /><SearchBox /><Profile /><Reviews />?search= (URL)server cacheuseStateContextRedux storelocalStorage
Components wired to the places their state livesIn the AI-generated version, components read and write state in several places at once, and the cart lives in three of them. In the architected version, each component reads from one home.ComponentsWhere state lives<Header /><CartBadge /><ProductList /><Filters /><Checkout /><SearchBox /><Profile /><Reviews />?search= (URL)server cacheuseStateContextRedux storelocalStorage

15 wires; the cart lives in 3 places

  • reads or writes state
  • the cart, duplicated
  • one home per piece of state
  • the cart's one home
  • not built yet

A real sample

Here's what one tip looks like

That's 1 of 100+ tips in The Conscious React. The Conscious Node has 157 more in the same format.

Get 3 more tips free

Where to start

Pick where to start

Start free, and pay only when you want to go deeper.

  1. Free
    $0

    React and Node.js Architecture Playbooks

    The decision trees for state, data, testing and logging, plus the 10 rules of senior React and of senior Node. Then one production problem a week in The T-Shaped Dev.

  2. Books
    From$29

    The Conscious React and The Conscious Node

    Tips with the code to avoid and the code to prefer, for React 19 and for Node.js. The packages add the companion repos and AI rules files for Claude Code, Cursor and Copilot.

Every purchase comes with a 30-day money-back guarantee and lifetime updates.

Proof

What engineers say

β˜…β˜…β˜…β˜…β˜…

"The architecture scenarios are the best part. Each one makes you commit to a decision, and it ends with what the interviewer is grading, so you see what a senior answer has to show."

Ivan LebanovFull-stack developeron The Senior JavaScript Interview
β˜…β˜…β˜…β˜…β˜…

"Backend engineers get real depth here: idempotency, backpressure and the event loop under load in the Node.js part, then backend system design scenarios that make you commit to an approach. It covers the part of the loop most JavaScript prep skips."

Daniel MokaCTO at DevTools Academy Β· 133K+ LinkedIn followerson The Senior JavaScript Interview
β˜…β˜…β˜…β˜…β˜…

"Clear, practical and focused on what senior interviews test. I'd recommend it to any JavaScript developer going for their next role."

Marko DenicSoftware engineer Β· 266K+ followers on Xon The Senior JavaScript Interview
β˜…β˜…β˜…β˜…β˜…

"Many newsletters in the dev space share tutorials, but Petar shares high-quality, next-level content. If you want to learn something really valuable, he’s your man. Recommended!"

Csaba KissiEntrepreneur Β· 256K followers on Xrecommends The T-Shaped Dev
β˜…β˜…β˜…β˜…β˜…

"Great newsletter to help you level up as an engineer! Petar shares very practical insights in a very detailed and understandable way."

Gregor OjstersekAuthor of Engineering Leadership Β· 205K+ newsletter subscribersrecommends The T-Shaped Dev
β˜…β˜…β˜…β˜…β˜…

"Petar teaches you the most important concepts you need to know in a practical, easy-to-understand way. I highly recommend subscribing"

Jordan CutlerAuthor of High Growth Engineer Β· 99K+ newsletter subscribersrecommends The T-Shaped Dev
β˜…β˜…β˜…β˜…β˜…

"By following the best practices mentioned, I now better know how to transform my code from being bloated, unoptimised and messy to being organised, structured and more easily scalable. And thanks to the included explanations I can understand the β€œwhy” part of the learning process."

Oliver RichardsonJunior Software Engineeron The Conscious React
// petar ivanovPetar Ivanov, smiling, arms crossed

About

Hi, I'm Petar

I've spent 9+ years building production systems at Fortune 500 companies in cloud, finance and travel, and I've been the CEO and CTO of startups. I've mentored developers from junior to senior to architect, and I wrote two books about that road: The Conscious React and The Conscious Node.

Every promotion I got came down to one shift. I stopped writing code and started solving problems. That's what I write about every week in The T-Shaped Dev, which 30K+ engineers read.

My talk at DevTalks Romania 2026 grew out of the two books and made one argument. "AI did not kill software design. It made it more important."

  1. Fortune 500 engineer
  2. Startup CEO and CTO
  3. Two books
  4. The T-Shaped Dev

Spoke at GitNation, Geekle, React Day Berlin and DevTalks Romania

FAQ

Questions

For anything else, write to info@petarivanov.tech.

Who is this for?

React and Node.js engineers who already ship to production and want to make the architecture calls with confidence. Complete beginners will get more from the official React docs first, then this a few months later.

React or Node, where do I start?

Start with the stack you work in every day. The free playbooks cover both. Working across the client and the server? The JavaScript Architect Bundle has both books for $89.

Do I still need this if AI writes most of my code?

If you review that code, yes. Coding agents copy the patterns already in your codebase, so those patterns need to be worth copying. The books cover the decisions an agent won't make for you, and the Complete Packages include CLAUDE.md, AGENTS.md and .cursorrules files so your agents follow them too.

What will you send me after the playbooks?

New deep dives as I publish them, plus an email when there's a new book, course or sale. Unsubscribe in one click.

Can my company pay for it?

Yes. Stripe emails a receipt right after checkout, and I send an invoice with your company details when you reply to the purchase email. For a team, write to info@petarivanov.tech for team pricing.

What if it doesn't help?

Use it on your real codebase for 30 days. Still no change in how you write React or Node? Reply to your receipt for a full refund.

Free, 13 pages

Make your next architecture call with confidence

Get the two playbooks free, 13 pages in all. Try one decision tree on the code you're working on today.

Ready for the full set? Get both books in the Architect Bundle for $89