helix

https://github.com/Lokeh/helix
2021-04-16T00:05:28.023400Z

Greetings, first off. Thanks for creating Helix, or answering questions. I'm excited their is a react-native page https://github.com/lilactown/helix/blob/master/docs/react-native.md as i'm starting to work on a react native app! I'm a bit of a novice here, i'm guessing their is a good amount of hard earned knowledge around the ideal ways to do react native app in cljs. One thing that seems to be useful is using Expo and so my minimal setup is currently calling expo/render-root based off this minimal example for (wow 3 years) https://clojureverse.org/t/exploring-react-native-expo-with-shadow-cljs/1969. Likely things have moved on. I'm curious if the Helix community is using Expo or if there are other local development and build tools i should consider? If not, then where would i look to start modifying examples from Helix (like i linked) to work with expo.

lilactown 2021-04-16T00:34:51.024200Z

I've been out of the React Native world for a number of years. however, the example in that clojureverse link should be easily adapted to helix

👍 1
lilactown 2021-04-16T00:36:28.025400Z

literally, requiring [helix.core :refer [$]] instead of ["react" :as react :rename {createElement $}] would make the example work 🙂

lilactown 2021-04-16T00:37:54.026700Z

reporting your experience using helix with react native would be helpful to me. in the future I'd like to provide a helix.native namespace similar to helix.dom with helpers for using RN

👍 2
2021-04-16T00:43:53.028200Z

Oh, ah, i guessed i could modify that example. But I had worried that calling expo/render-root wasn't the ideal path anymore. Thanks for the heads up!