Live data from Hacker News

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

componentkit.org

1–10 of 56 posts

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

#5
> (Don't confuse ComponentKit with React Native, a framework for building apps in Javascript.)

As long as they can't describe it without citing React, this is going to confuse people. At the very least, the logline should mention Obj-C/Swift/Cocoa to differentiate the projects.

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

#6

Great initiative by the Facebook team. Anyone knows if there's a similar framework for Android? (declarative description of the UI, rendering based on immutable models, single data flow, etc)

https://github.com/zserge/android-virtual-layout

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

#7
I like the steady stream of innovative projects coming out of facebook as of late, but I can't help but feel like there's quite a bit of overlap in their initiatives. Just the fact that there's a footnote about how this isn't react-native illustrates my sentiments exactly.

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

#8
This is a great idea, but the fact that it's implemented in Objective-C++ is a deal-breaker for me since I'm starting to use Swift in my iOS projects. From the docs:

"ComponentKit is built on Objective-C++. There is no easy way to interoperate with Swift since Swift cannot bridge to C++."

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

#10

This is a great idea, but the fact that it's implemented in Objective-C++ is a deal-breaker for me since I'm starting to use Swift in my iOS projects. From the docs: "ComponentKit is built on Objective-C++. There is no easy way to interoperate with Swift since Swift cannot bridge to C++."

You can still do it, it just presents an extra hurdle, e.g. see this project on integrating OpenCV into a Swift project:

https://github.com/foundry/OpenCVSwiftStitch

So it is possible.

Post reply on HN