n this lesson, Adam Ernst, Software Engineer at Meta, shares the story behind ComponentKit, the declarative UI framework that played a pivotal role in his promotion to Senior Staff Engineer (E7). Faced with a rapidly growing Facebook News Feed that was becoming difficult to maintain, Adam and his team reimagined iOS development by adapting the core ideas of React for native mobile applications—years before SwiftUI and React Native became mainstream. He also discusses how he overcame resistance to a radically new approach and the leadership lessons he learned while driving large-scale technical change.
- Reinventing UI Architecture at Scale: To address performance issues, crashes, and increasing complexity in Facebook News Feed, Adam developed ComponentKit, a declarative UI framework inspired by React that improved maintainability, rendering performance, and developer productivity long before similar technologies became industry standards.
- Winning Adoption Through Evidence and Collaboration: Convincing engineers to embrace a new programming paradigm required more than technical excellence. Adam demonstrated tangible improvements through cleaner code and better performance, leveraged trusted allies to advocate for the framework, and found compromises that incorporated ideas from competing internal projects.
- Strong Conviction with Practical Flexibility: Adam remained confident that ComponentKit was the right solution for Facebook's highly dynamic feed while acknowledging that no architecture is universally optimal. His experience highlights the importance of understanding trade-offs, tailoring solutions to the problem at hand, and leading innovation through collaboration rather than ideology.