JavaScript Monorepos in 2024: Legit or Sus?

JavaScript Monorepos in 2024: Legit or Sus?

Zach Gardner Articles, Development Technologies & Tools, JavaScript, Programming, Tutorial 4 Comments

Iโ€™ve been developing JavaScript through all of the major existential changes weโ€™ve had. Browser wars? I remember those. Trying to make a complex application before Firebug? Oh yeah, tell me about it. Having to roll my own AJAX request by hand? Vividly remember.

Something that I experienced in all of my large JS projects before the last few years was an eventual point of no return, a metaphorical event horizon, beyond which the amount of time it took to build the code locally as well as on the CI/CD system was just simply too long.

All projects start fine, but as they grow and evolve and change over time, the amount of build time seems to creep up until it becomes inimical to deploying and testing changes in any reasonable time frame. Further, it becomes very difficult to onboard new developers as any change they make is not isolated, and must take into account all of the other code in the app. Granted, frameworks and libraries like React do help to some extent, but there are no clean-cut boundaries on the source code with different features, it always had to be by convention.

It was during a project a few years ago that I finally put my foot down and decided that something needed to be done. Researching how other architects were doing it, I came across JavaScript monorepos. I was familiar with the concept of monorepos from my research on how Google structures their code base (they have two repos, one for YouTube and one for everything else, no joke), but had never thought to apply that same principle to JavaScript. So I dove in head first, made a lot of mistakes, iterated, and finally got to a place where I feel comfortable sharing my lessons learned.

This blog post is not an extensive study, but it is enough to get you interested in a way to solve two common problems we all have (i.e. sluggish build times and inability to effectively onboard new devs due to lack of feature separation), and give you enough of a context around how I approached the problem to determine how you should proceed.

What are the Benefits of Moving My Business to the Cloud?

Zach Gardner AWS, Azure, Cloud, Keyhole, Videos Leave a Comment

Attention: This article was published over 2 years ago, and the information provided may be aged or outdated. While some topics are evergreen, technology moves fast, so please keep that in mind as you read the post.In the last decade, the phrase “the cloud” has transitioned from a futuristic concept to a fundamental business strategy. The benefits of moving your …

Software Consulting & Custom Software Development Dallas

Dallas Software Consulting & Custom Software Development

Custom software development and consulting services in Dallas, Texas โ€” delivered by 100% U.S.-based senior engineers.

From Uptown Dallas to Deep Ellum, Plano, Frisco, and the broader DFW area, organizations rely on modern software to stay competitive. Keyhole provides Dallas software consulting and custom software development services that help teams modernize legacy systems, migrate to the cloud, and deliver reliable, scalable solutions.

Software Consulting & Custom Software Development Omaha

Omaha Software Consulting & Custom Software Development

Dive deep into the world of software consulting & custom software development in Omaha with Keyhole Software’s expert guide. Discover the difference dedication makes.Whether you’re a well-established company in Omaha or a growing startup, software is at the heart of most businesses in our digital age. With industries spanning from healthcare to finance, from movie theaters to banking and beyond, custom software solutions have become a crucial need.Watch VideoLet’s TalkOur Commitment to ExcellenceAt the core of Keyhole Software is a deep dedication to delivering top-notch custom software solutions. With a portfolio that boasts clients across numerous industries, including healthcare, finance,

Software Consulting & Custom Software Development St louis

St Louis Software Consulting & Custom Software Development

Dive deep into the world of software consulting & custom software development in St Louis with Keyhole Software. If you’re based in St Louis and are seeking help with custom software development, then you’re in the right place! The city has a rich tapestry of tech solutions and software consultants, and we’re proud to be among the top contenders. Our journey in St Louis began over a decade ago. Since then, we’ve had the privilege of working with industry giants. We’ve had successful projects with companies like Nestle Purina and Safety National, to name just a couple.