Maintaining a Component Library at Scale

Rate this content
Bookmark

This talk is about an example approach on how to organise maintenance across multiple teams, where we talk about how we came to this plan at Jumbo and what benefits it brings to the Developer Experience while being able to continuously deliver features to our customers.


We're dealing with maintenance, ownership, adding small features, upgrading from Vue2 to Vue3 and the culture that supports this way of working.

This talk has been presented at JSNation 2023, check out the latest edition of this JavaScript Conference.

FAQ

The Jumbo tech campus houses over 400 developers who work on various digital solutions including e-commerce, machine learning, data lakes, and front-end development to enhance the shopping experience.

Kompas is a design system developed by Jumbo to aid in making informed design and development decisions for their products.

Jumbo is a grocery chain based in the Netherlands and Belgium.

Jumbo adopted a distributed approach to avoid bottlenecks, facilitate faster feature deployment, and ensure that knowledge and maintenance responsibilities are spread across multiple developers.

The benefits include a sense of ownership among contributors, distributed knowledge which mitigates risk when employees leave, and immediate usability of new additions by various teams.

Contributors must communicate changes upfront, ensure components are reusable and not team-specific, and keep the components as simple as possible.

Jumbo addresses major updates and maintenance issues by possibly revisiting the idea of a dedicated team to maintain a balance between centralized guidance and decentralized contributions.

Jumbo uses a hybrid model where a central team provides vision and guidance, maintaining quality and direction, while still allowing other teams to contribute actively to the component library.

The key takeaway is that processes that initially work may need adjustments over time, and organizations should be willing to change processes that no longer fit to ensure efficiency and effectiveness.

Joran Quinten
Joran Quinten
9 min
01 Jun, 2023

Comments

Sign in or register to post your comment.

Video Summary and Transcription

Jumbo, a grocery chain in the Netherlands, has a tech campus with over 400 developers working on digital solutions. They built a distributed component library called Kompas, allowing everyone to contribute and ensuring knowledge is not lost. They adopted a hybrid solution, combining centralized and decentralized approaches, for fast development while maintaining a clear vision and high-quality standards. The key takeaway is to be willing to change processes and find what works best for your organization or team.

1. Introduction to Jumbo and Kompas

Short description:

Good afternoon, everybody. My name is Joran. I work for Jumbo, a grocery chain in the Netherlands. We are a grocery chain in the Netherlands or Belgium. I wanted to share our story with you. We have a Jumbo tech campus with over 400 developers working on all our digital solutions. We value the omnichannel experience and built a design system called Kompas to facilitate it.

Good afternoon, everybody. As you can see, it's a big screen. It's really super bright. My name is Joran. I work for Jumbo, a grocery chain in the Netherlands.

Quickly, who is from the Netherlands or from Belgium? Who does their shopping at Albert Heijn? We have some work there, but we'll get there. We are a grocery chain in the Netherlands or Belgium. I am going to talk about if this thing works. It does. About LEGOs. But actually, a components library. We did a thing at our organization, and I wanted to share our story with you. Bear in mind that this might not be the perfect solution for you because you have a different organization, different needs, and a different environment, but it works for us. I hope that I can at least share it through our journey and give you some inspiration to take home.

As I said, we are a grocery chain in the Netherlands. I'll skip through this slide because it's just 10 minutes. It's a short amount. In order to do our e-commerce solution and all of our in-house products, we have a Jumbo tech campus where we have over 400 developers working and they work on all our digital solutions. That's not just the e-commerce, it's also the machine learning stuff, the data lakes, everything, but we also do web and we also do frontend, fortunately. That's where I come in as well.

What we at Jumbo value highly is the omnichannel experience. That means for us, at least, that we put the customer first. We think that's really important for us as an organization because from a customer perspective, you're dealing with Jumbo and not necessarily Web Team A or not necessarily a store representative. Everything that is coming from us should be, or should feel at least as familiar to you as it is, it's the one big part. This omnichannel experience is really important to us and in order to help us in facilitating an omnichannel experience, we did something that a lot of people do. We built a design system and our design system is called Kompas, which is Dutch for compas. I hope that translates well. We did a good job there, I think. But this helps us in making good decisions and how we are designing and developing our products. A little bit of background information about our component library, and again, I won't go into detail because you're not interested in our view setup, but it is built in Vue Storybook for documenting our resources.

2. Building a Distributed Component Library

Short description:

We built our component library from scratch to deliver highly specific features. Instead of having a dedicated team, we took a distributed approach, allowing everyone to contribute. This creates a sense of investment and nurtures ownership. Distributed contributions also ensure that knowledge is not lost when team members leave. Having a large team of front-end developers contributing helps in delivering features. Additionally, every increment added to the Component Library is immediately usable by other teams, making product owners happy. To maintain consistency, we set clear rules for contributors, including upfront communication, reusability, and simplicity.

We have a couple of actions as well, and I see Chromatic is there, so those people should be happy at their stand. Same company. So we use that as well.

Our component library, we built that thing from scratch because it makes sense to us in order to deliver our highly specific features. Now, if you build a component library from scratch, that takes a lot of time and effort we made a decision to not go with a dedicated team, because the simple reason, or the assumption actually is that that would introduce a large bottleneck for our entire organization. And that's something that we want to prevent. We want to be able to have our teams move as fast as possible because we want to get features out the door so that customers can order more groceries online. So no dedicated team. And what we did do, and I'll explain this in a bit, we took a distributed approach. And for us, that meant that everybody who uses the Component Library is able to contribute to the Component Library. So let's explain these benefits that we see, or that we saw at least. And the first is, and I think this is the most important one, and is still valid to this very day, that everybody who contributes to a library has some sort of a sense of investment or some nurturing, what you would call it. Something that you want to take care of this, right? Because you own it, you build it, you maintain it, so it's yours, and you feel some sort of investment, which I think is the most important thing.

The other thing as a benefit is that it happens sometimes that people leave your company. And what you don't want is that they take all their knowledge, their highly specific knowledge of the Component Library with them. So with distributed contributions, you also have distributed knowledge. That's our assumption. And the next thing is that if you have all of these front-end developers contributing, then you have a massive team who is helping you in delivering features. So this is also a good thing. And lastly, the last benefit that we saw is that every increment or everything that you add to the Component Library is immediately usable by all of those other teams. This makes product owners very happy, and we want to keep them happy to have sensible sprints. Let's see what's next.

Yeah, this is also very important. So if you have all of these contributors on your codebase, you need to set some rules. We basically said that if you want people to play your game, you need to have a clear set of rules so that everybody is actually playing the same game, and that it's clear what can be done and what cannot be done. And we started out with a couple of simple ones. It's very straightforward, I guess. You need to communicate upfront what you're going to be changing on the Component Library, make sure that it is reusable as a component and not highly specific to your team's needs, and keep it as simple as possible. And this worked very well for us. So we are very happy, we're working, we're working, we're growing in teams and complexity, and then stuff happens.

Check out more articles and videos

We constantly think of articles and videos that might spark Git people interest / skill us up or help building a stellar career

Design Systems: Walking the Line Between Flexibility and Consistency
React Advanced Conference 2021React Advanced Conference 2021
47 min
Design Systems: Walking the Line Between Flexibility and Consistency
Top Content
The Talk discusses the balance between flexibility and consistency in design systems. It explores the API design of the ActionList component and the customization options it offers. The use of component-based APIs and composability is emphasized for flexibility and customization. The Talk also touches on the ActionMenu component and the concept of building for people. The Q&A session covers topics such as component inclusion in design systems, API complexity, and the decision between creating a custom design system or using a component library.
A Framework for Managing Technical Debt
TechLead Conference 2023TechLead Conference 2023
35 min
A Framework for Managing Technical Debt
Top Content
Today's Talk discusses the importance of managing technical debt through refactoring practices, prioritization, and planning. Successful refactoring requires establishing guidelines, maintaining an inventory, and implementing a process. Celebrating success and ensuring resilience are key to building a strong refactoring culture. Visibility, support, and transparent communication are crucial for addressing technical debt effectively. The team's responsibilities, operating style, and availability should be transparent to product managers.
Debugging JS
React Summit 2023React Summit 2023
24 min
Debugging JS
Top Content
Watch video: Debugging JS
Debugging JavaScript is a crucial skill that is often overlooked in the industry. It is important to understand the problem, reproduce the issue, and identify the root cause. Having a variety of debugging tools and techniques, such as console methods and graphical debuggers, is beneficial. Replay is a time-traveling debugger for JavaScript that allows users to record and inspect bugs. It works with Redux, plain React, and even minified code with the help of source maps.
Building a Voice-Enabled AI Assistant With Javascript
JSNation 2023JSNation 2023
21 min
Building a Voice-Enabled AI Assistant With Javascript
Top Content
This Talk discusses building a voice-activated AI assistant using web APIs and JavaScript. It covers using the Web Speech API for speech recognition and the speech synthesis API for text to speech. The speaker demonstrates how to communicate with the Open AI API and handle the response. The Talk also explores enabling speech recognition and addressing the user. The speaker concludes by mentioning the possibility of creating a product out of the project and using Tauri for native desktop-like experiences.
Power Fixing React Performance Woes
React Advanced Conference 2023React Advanced Conference 2023
22 min
Power Fixing React Performance Woes
Top Content
Watch video: Power Fixing React Performance Woes
This Talk discusses various strategies to improve React performance, including lazy loading iframes, analyzing and optimizing bundles, fixing barrel exports and tree shaking, removing dead code, and caching expensive computations. The speaker shares their experience in identifying and addressing performance issues in a real-world application. They also highlight the importance of regularly auditing webpack and bundle analyzers, using tools like Knip to find unused code, and contributing improvements to open source libraries.
A Practical Guide for Migrating to Server Components
React Advanced Conference 2023React Advanced Conference 2023
28 min
A Practical Guide for Migrating to Server Components
Top Content
Watch video: A Practical Guide for Migrating to Server Components
React query version five is live and we'll be discussing the migration process to server components using Next.js and React Query. The process involves planning, preparing, and setting up server components, migrating pages, adding layouts, and moving components to the server. We'll also explore the benefits of server components such as reducing JavaScript shipping, enabling powerful caching, and leveraging the features of the app router. Additionally, we'll cover topics like handling authentication, rendering in server components, and the impact on server load and costs.

Workshops on related topic

Build Modern Applications Using GraphQL and Javascript
Node Congress 2024Node Congress 2024
152 min
Build Modern Applications Using GraphQL and Javascript
Featured Workshop
Emanuel Scirlet
Miguel Henriques
2 authors
Come and learn how you can supercharge your modern and secure applications using GraphQL and Javascript. In this workshop we will build a GraphQL API and we will demonstrate the benefits of the query language for APIs and what use cases that are fit for it. Basic Javascript knowledge required.
Build a Data-Rich Beautiful Dashboard With MUI X's Data Grid and Joy UI
React Summit 2023React Summit 2023
137 min
Build a Data-Rich Beautiful Dashboard With MUI X's Data Grid and Joy UI
Top Content
WorkshopFree
Sam Sycamore
Siriwat (Jun) Kunaporn
2 authors
Learn how to put MUI’s complete ecosystem to use to build a beautiful and sophisticated project management dashboard in a fraction of the time that it would take to construct it from scratch. In particular, we’ll see how to integrate the MUI X Data Grid with Joy UI, our newest component library and sibling to the industry-standard Material UI.
Table of contents:- Introducing our project and tools- App setup and package installation- Constructing the dashboard- Prototyping, styling, and themes - Joy UI features- Filtering, sorting, editing - Data Grid features- Conclusion, final thoughts, Q&A
Building a Shopify App with React & Node
React Summit Remote Edition 2021React Summit Remote Edition 2021
87 min
Building a Shopify App with React & Node
Top Content
WorkshopFree
Jennifer Gray
Hanna Chen
2 authors
Shopify merchants have a diverse set of needs, and developers have a unique opportunity to meet those needs building apps. Building an app can be tough work but Shopify has created a set of tools and resources to help you build out a seamless app experience as quickly as possible. Get hands on experience building an embedded Shopify app using the Shopify App CLI, Polaris and Shopify App Bridge.We’ll show you how to create an app that accesses information from a development store and can run in your local environment.
Build a chat room with Appwrite and React
JSNation 2022JSNation 2022
41 min
Build a chat room with Appwrite and React
WorkshopFree
Wess Cope
Wess Cope
API's/Backends are difficult and we need websockets. You will be using VS Code as your editor, Parcel.js, Chakra-ui, React, React Icons, and Appwrite. By the end of this workshop, you will have the knowledge to build a real-time app using Appwrite and zero API development. Follow along and you'll have an awesome chat app to show off!
Hard GraphQL Problems at Shopify
GraphQL Galaxy 2021GraphQL Galaxy 2021
164 min
Hard GraphQL Problems at Shopify
WorkshopFree
Rebecca Friedman
Jonathan Baker
Alex Ackerman
Théo Ben Hassen
 Greg MacWilliam
5 authors
At Shopify scale, we solve some pretty hard problems. In this workshop, five different speakers will outline some of the challenges we’ve faced, and how we’ve overcome them.

Table of contents:
1 - The infamous "N+1" problem: Jonathan Baker - Let's talk about what it is, why it is a problem, and how Shopify handles it at scale across several GraphQL APIs.
2 - Contextualizing GraphQL APIs: Alex Ackerman - How and why we decided to use directives. I’ll share what directives are, which directives are available out of the box, and how to create custom directives.
3 - Faster GraphQL queries for mobile clients: Theo Ben Hassen - As your mobile app grows, so will your GraphQL queries. In this talk, I will go over diverse strategies to make your queries faster and more effective.
4 - Building tomorrow’s product today: Greg MacWilliam - How Shopify adopts future features in today’s code.
5 - Managing large APIs effectively: Rebecca Friedman - We have thousands of developers at Shopify. Let’s take a look at how we’re ensuring the quality and consistency of our GraphQL APIs with so many contributors.
0 To Auth In An Hour For Your JavaScript App
JSNation 2023JSNation 2023
57 min
0 To Auth In An Hour For Your JavaScript App
WorkshopFree
Asaf Shen
Asaf Shen
Passwordless authentication may seem complex, but it is simple to add it to any app using the right tool.
We will enhance a full-stack JS application (Node.js backend + Vanilla JS frontend) to authenticate users with One Time Passwords (email) and OAuth, including:
- User authentication – Managing user interactions, returning session / refresh JWTs- Session management and validation – Storing the session securely for subsequent client requests, validating / refreshing sessions
At the end of the workshop, we will also touch on another approach to code authentication using frontend Descope Flows (drag-and-drop workflows), while keeping only session validation in the backend. With this, we will also show how easy it is to enable biometrics and other passwordless authentication methods.