-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@cycle/react-native deprecated in favor of @cycle/react? #17
Comments
I pieced together a starter kit https://github.com/jmatsushita/cycle-expo-native-kit, forked from https://github.com/codersera-repo/expo-native-starter-kit which "let's you run expo and ejected app together". It works with the expo tooling, in the browser, and (I haven't tested it yet) should allow to switch back and forth between managed and bare expo workflows (using mocks for RN modules). |
Hi @jmatsushita ! If you check the package.json of this library, it actually uses cycle/react. The goal of cycle/react is to solve the component interoperability between React and Cycle.js. The goal of cycle/react-native is to provide a few helper utilities (this is from the readme):
So people who want to focus on the Cycle.js style of writing apps can just use cycle/react-native without worrying much about react-native setups such as The reason why Manyverse doesnt use cycle/react-native is because it doesn't use The starter kit you made looks great! Glad that you're looking to use the Cycle.js architecture with React Native. :) |
Thanks @staltz! Reading your blog post https://staltz.com/use-react-in-cyclejs-and-vice-versa.html helped to put things into perspective for me. Yes I saw that |
Hi there,
Looking at https://github.com/staltz/manyverse it seems that doing React Native with Cycle.js isn't best done with this module anymore?
Drawing from the code in
manyverse
, I was able to get things going (including with RN Web and Expo) with only@cycle/react
and the following code inApp.js
of any expo boilerplate:The text was updated successfully, but these errors were encountered: