Home / Companies / GitHub / Blog / Post Details
Content Deep Dive

How we use Web Components at GitHub

Blog post from GitHub

Post Details
Company
Date Published
Author
Kristján Oddsson
Word Count
1,770
Company Posts That Month
12
Language
English
Hacker News Points
-
Post removed?
No
Summary

GitHub has evolved its front-end development practices by embracing Web Components, transitioning from a jQuery-based codebase to a more modern, component-driven approach. This shift allows for better encapsulation, reusability, and maintainability across its extensive codebase. The company utilizes tools like Catalyst, an open-source library that simplifies Web Component authoring, and ViewComponent within Rails to streamline the development process while maintaining high-quality standards. GitHub's strategy includes transforming application-specific components into robust, dependency-free Web Components suitable for open-source release, exemplified by the <typing-effect> element. This approach has been well-received internally, and GitHub plans to continue expanding its collection of "GitHub Elements" while exploring future advancements like Template Parts and Declarative Shadow DOM to further enhance Web Component development.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Developer Experience 2 108 70 36 -13%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.