ComponentKit logo


ComponentKit by Facebook: A React-Inspired View Framework for iOS
+ 1

What is ComponentKit?

ComponentKit is an Objective-C++ view framework for iOS that is heavily inspired by React. It takes a functional, declarative approach to building UI. It was built to power Facebook's News Feed and is now used throughout the Facebook iOS app.
ComponentKit is a tool in the Mobile UI Frameworks category of a tech stack.
ComponentKit is an open source tool with 5.3K GitHub stars and 571 GitHub forks. Here鈥檚 a link to ComponentKit's open source repository on GitHub

Who uses ComponentKit?

11 developers on StackShare have stated that they use ComponentKit.

ComponentKit Integrations

Public Decisions about ComponentKit

Here are some stack decisions, common use cases and reviews by companies and developers who chose ComponentKit in their tech stack.

Daniel Worku
Daniel Worku
Software Engineer at Humu | 2 upvotes 2.6K views
Shared insights

At Field Nation, managing view state, in the #iOS app, became a challenge when we added multiple asynchronous actions and multi-stage work order completion.

ComponentKit's React-inspired approach to building UI made layout declarative, functional and more composable. Plus, as an Objective-C++ framework, there isn't the typical trade-offs of layout speed and compute overhead. In fact, you'll get background thread layout and view recycling for free. It was easy to implement and fully test complex UI interactions like checking in to a work order, receiving location-based alerts, and uploading deliverables. Additionally, CK provides an escape-hatch, for advanced views, to drop down into UIKit or CALayer. The outcome is the flexibility to incrementally migrate views and maintain delightful layer-based animations.

Overall, CK makes it easier to build a view hierarchy, snapshot test all possible states and efficiently manage views. Less bugs, happy designers. The trade-off is the ramp up on component-based software engineering.

See more

ComponentKit Alternatives & Comparisons

What are some alternatives to ComponentKit?
React Native
React Native enables you to build world-class application experiences on native platforms using a consistent developer experience based on JavaScript and React. The focus of React Native is on developer efficiency across all the platforms you care about - learn once, write anywhere. Facebook uses React Native in multiple production apps and will continue investing in React Native.
jQuery Mobile
jQuery Mobile is a HTML5-based user interface system designed to make responsive web sites and apps that are accessible on all smartphone, tablet and desktop devices.
React-inspired Swift library for writing UIKit UIs.
Provides views, controls, and layout structures for declaring your app's user interface. The framework provides event handlers for delivering taps, gestures, and other types of input to your app.
It allows you to define efficient React components using nothing but plain ClojureScript functions and data, that describe your UI using a Hiccup-like syntax.
See all alternatives

ComponentKit's Followers
23 developers follow ComponentKit to keep up with related blogs and decisions.
Vishal m
Hira Imran
t v
Fabio Valentino
Allen Long
Oleksii Moiseenko
Himansu Sekhar