How to achieve reusability with React components

  • Post comments:5 Comments

React’s component model makes it easy to reuse UI code, but reusing components across projects, applications, and teams is only possible if developers can find, install, and rely on each other’s code. @walmartlabs, we have hundreds of developers working across dozens of teams, and one of the biggest obstacles to their productivity is duplication of work that’s already been completed elsewhere in the organization. In this talk, you’ll learn about the technical means we used to achieve this goal, and the processes and policies that facilitate and encourage code reuse throughout @walmartlabs.

Talk given by Alex Grigoryan at Node Summit 2017.

Thanks to Node Summit for giving us permission to post this talk. freeCodeCamp is not associated with this talk. We’re just excited to bring more exposure to to it!

Learn to code for free and get a developer job:

Read hundreds of articles on programming:

And subscribe for new videos on technology every day:


This Post Has 5 Comments

  1. Arvil Meña

    glad to hear insight from this philosophy. But I want to hear the statistics on how much time are these "Meta meetings" are consuming in the dev workflow. I want to know the insight of how cost-effective this philosophy is compared on just letting each organization use the framework they decided, avoiding these seemingly unnecessary workflow. Letting each organization just use and code on however and whichever they want breeds innovation.

    If the concept they want is "to make everyone stay on the same platform," then I think that they should had built a first class API or an SDK, instead of a reusable components. This still keeps all the organization on the same page, and let each organization choose which JS library or frontend tools they should use. That challenge he discussed at the end about innovation is not actually a "challenge" but the main limitation of this philosophy. This philosophy will just be breeding legacy software nobody wants to use. I also want to hear the insight of the developers working on this workflow, are they feeling innovative? or they think they are stuck on a system they can't use in the future.

  2. Kevin Muldoon

    Brilliant! Business wants reusability/efficiency across the organization. This is a great goal, but I think you hit the nail on the head. It's not just a technical challenge but a philosophical change which requires organizational commitment. Not only is this change philosophical in nature, it's a fundamental cultural shift. Very difficult to change/align different cultures across different departments/silos, in effort to create efficiencies. It seems you've done an excellent job and I'm glad I ran across this video you've put together. Much thanks!

  3. Avi Mehenwal

    very nice, we are transiting from monolithic to component driven development for existing products. Got a question, are you using managed CI/CD tools/pipelines? or self-hosted? Would also like to know rational on your decision. Super thanks and stay awesome

  4. Divine Zeal

    For people who say working at Walmart isn’t a good job

Leave a Reply