korrents

korrents · video

Refactoring a Next.js & Tailwind app with Cursor

Lee Robinson · 58m · youtube.com ↗

9 korrents from this recording

Lee Robinson did not write this page.

Every claim below is a statement made in this recording, quoted word for word and linked to the second it was said, so you can hear it rather than take our word for it. The wording comes from the transcript published alongside the recording; the sentence above each quote is our reading of the claim, not their wording.

  1. 6:55 · watch on youtube.com↗

    If that's only used on that one page, which if you click on a product description, we're not using that hero anywhere else. We should just put it on that one page. We don't need the separate component abstraction.
  2. 3 min later
  3. 9:42 · watch on youtube.com↗

    but if this application grows in complexity, it would be nice to have these accessible primitives that we're building on top of where we can probably get a lot of stuff for free.
  4. 5 min later
  5. 14:21 · watch on youtube.com↗

    and the reason why I like to show this example um is that deterministic things are good. Like code mods are helpful. We know that this is going to solve some things very concretely and then if there's errors or issues, we can still use AI and use the AI agent to help us fix some of those things.
  6. 17 min later
  7. 30:54 · watch on youtube.com↗

    The formatting is like low uh low risk versus running potential autofixes on the linting rules is a little bit more potentially problematic
  8. 3 min later
  9. 34:02 · watch on youtube.com↗

    but high reasoning is like a lot of reasoning and it might be too much. This is a good time where you need to really think about which model you're using.
  10. 4 min later
  11. 37:42 · watch on youtube.com↗

    It's generally not necessarily a bad thing when the agent decides to check linting and um type checking and run builds. I would prefer for that behavior more than not because it can usually find things that I might have missed.
  12. 13 min later
  13. 50:41 · watch on youtube.com↗

    Prefer having more descriptive variable or function names. Like I really like this comment doesn't do anything. It's just slop.
  14. 7 min later
  15. 57:30 · watch on youtube.com↗

    It's very much a pair programmer. It's not like I'm just delegating all control to the AI. I'm still making very surgical changes and using the model to help me in this journey of updating a bunch of stuff and cleaning up tech debt and moving things around.
  16. 57:44 · watch on youtube.com↗

    And this is the reality I think of how most people are working with AI models today.