4 ms·
Looks like they haven't put up much documentation yet - hard to say what this is really. How do you work with different platforms? How does the performance com
by yonibot 7y ago
Looks like they haven't put up much documentation yet - hard to say what this is really.
How do you work with different platforms? How does the performance compare to React Native? Can we see examples? What APIs exist to access native functionalities? How complete is the Flex implementation?
- Jarred 7y agoI dug around a little and installed their demo app in the iOS simulator: https://www.dropbox.com/s/hl3nk8jrcjleurj/hippy.mov?dl=0 https://www.dropbox.com/s/hl3nk8jrcjleurj/hippy.mov?dl=0. Visually, the only interesting part of the demo app is the RefreshWrapper example Code-wise, the most interesting things I've seen: - They expose wrappers for native recycling list views[0]. React Native does this in JavaScript through VirtualizedList, however some have experienced performance issues with it[1] - They wrote their own flexbox layout library[2] (likely based on Yoga) - It works with both Vue[3] and React - Hippy supports web as a build target out of the box[4] (react-native-web is a 3rd party library) - Touch events work on the `<View />` component directly, instead of needing to wrap `<View />`'s in the `<Touchable />` components[5] - It uses a closed-source fork of libv8 on Android called X5[6]. The API & coding style is quite similar to React Native, but the implementation seems different. I'm guessing this started as an internal fork of React Native and turned into a large refactor, but that's just a guess [0]: https://github.com/Tencent/Hippy/blob/master/ios/sdk/component/listview/HippyBaseListView.m https://github.com/Tencent/Hippy/blob/master/ios/sdk/compone... [1]: https://github.com/facebook/react-native/issues/13413 https://github.com/facebook/react-native/issues/13413 [2]: https://github.com/Tencent/Hippy/tree/master/layout https://github.com/Tencent/Hippy/tree/master/layout [3]: https://github.com/Tencent/Hippy/tree/master/packages/hippy-vue https://github.com/Tencent/Hippy/tree/master/packages/hippy-... [4]: https://github.com/Tencent/Hippy/tree/master/packages/hippy-react-web https://github.com/Tencent/Hippy/tree/master/packages/hippy-... [5]: https://github.com/Tencent/Hippy/tree/master/packages/hippy-react#migrate-from-react-native https://github.com/Tencent/Hippy/tree/master/packages/hippy-... [6]: https://github.com/Tencent/Hippy/issues/9#issuecomment-568228569 https://github.com/Tencent/Hippy/issues/9#issuecomment-56822...
- dnate 7y ago> - It uses a closed-source fork of libv8 on Android called X5[6]. this makes my spidey senses tingle. What might be hidden there?
- weego 7y agoMaybe they hid casual racism.
- GeoffIsTheBest 7y agoI agree. If Facebook had a closed source lib in RN it would be DOA. I would be very curious to know why and if there are plans to replace with open source.