DEV Community

Eric Meadows
Eric Meadows

Posted on

2

Splitting PRs...?

When you work on large bodies of work, stacked PRs don't work...but you can't always split it up. What do you do with large PRs?

Top comments (1)

Collapse
 
theaccordance profile image
Joe Mainwaring

PR size is secondary for me when considering how I'm packaging my code.

Ideally - my PRs are small enough to be easily consumable by reviewers, but the PR has to be able to land in the codebase and not block other collaborators on a given project.

When I do have a large PR, what I do to make it easier for my reviewers:

  • Add commentary in the PR to specfiic files and code blocks
  • I'll ask reviewers to break their reviews into multiple passes where they review a set of files that are finalized
  • Bribery
👋 Kindness is contagious

Explore this insightful write-up, celebrated by our thriving DEV Community. Developers everywhere are invited to contribute and elevate our shared expertise.

A simple "thank you" can brighten someone’s day—leave your appreciation in the comments!

On DEV, knowledge-sharing fuels our progress and strengthens our community ties. Found this useful? A quick thank you to the author makes all the difference.

Okay