cljsrn

pez 2021-09-04T05:26:53.142500Z

@stopachka , there's Status. An Ethereum message/chat app. Here's my invite link: https://join.status.im/u/0x04e8d54f30490ad676da29b682737769e0e208d72527504ce66fdfc3d4a5daef82f1e478089856d6e6d8830218077691db773e3dcb0c83e9aa6f99db54069e8238

👍 1
pez 2021-09-04T06:12:06.143300Z

It's open source: https://github.com/status-im/status-react/tree/develop/src/status_im

2021-09-04T19:53:22.152200Z

Tried — fast!

raspasov 2021-09-04T08:33:49.143800Z

@stopachka I’ve been working on this http://itunes.apple.com/us/app/id1550598775

2021-09-08T17:57:12.171100Z

Question: what is the setup you went with? Krell, Shadow, expo or not?

raspasov 2021-09-08T19:58:44.172300Z

figwheel-main, expo bare https://docs.expo.dev/bare/exploring-bare-workflow/

raspasov 2021-09-08T20:01:16.175400Z

I build from XCode/AppCode, do not use the expo managed workflow stuff (have never tried it). I have some native Swift code related to the camera/video frame processing. But 100% of the UI is ReactNative/CLJS

raspasov 2021-09-08T20:06:04.177Z

Expo bare workflow allows you to use their libraries which are nicely made in most cases, for example https://docs.expo.dev/versions/v42.0.0/sdk/devicemotion/

raspasov 2021-09-08T20:07:25.178200Z

Also, react-native-web also works with expo bare, more or less out of the box

raspasov 2021-09-08T20:08:23.179300Z

I made https://www.autorep.app (a very simple landing page) just to give it a try, worked well

2021-09-08T20:18:18.179600Z

Fantastic — thanks! Noted all of this to dive deeper

👌 1
raspasov 2021-09-08T20:19:53.180600Z

Happy to help. What are you thinking of building with RN?

2021-09-08T20:23:12.180800Z

https://consistent.fit Think “Noom”, but for getting six-pack abs ^ Right now, we have a PWA, and a slack bot. Really want access to notifs / integration with health, so think it’s time to move into native app.

raspasov 2021-09-08T20:29:27.181400Z

Nice!

2021-09-04T19:55:01.152600Z

Wow, looks great!

raspasov 2021-09-05T04:02:29.153400Z

Thank you, still work in progress.

raspasov 2021-09-04T08:34:13.144300Z

It’s mostly CLJS + RN.

raspasov 2021-09-04T08:35:37.145500Z

All animations that you see in the app are triggered on the React Native side. It uses a combination of :useNativeDriver true and reanimated-v2 animations.

danielneal 2021-09-04T12:08:50.147300Z

ooh i'd be interested to hear how you did reanimated v2 from clojure

danielneal 2021-09-04T12:09:04.147800Z

I thought you needed to do js worklets

danielneal 2021-09-04T12:09:12.148300Z

and I didn't know that was possible in cljs

raspasov 2021-09-04T12:18:44.148500Z

Yeah, I didn’t 🙂 I have a tiny React view written in JS which I mostly configure from CLJS

raspasov 2021-09-04T12:20:12.148700Z

It’s effectively just a shim… in order to be able to use things like useAnimatedStyle, etc.

raspasov 2021-09-04T12:24:49.148900Z

This is the entirety of my JS code related to reanimated v2. There’s not much context, but hopefully you get the idea https://gist.github.com/raspasov/d42656703b6d0c4e000ee83a82369b71

❤️ 1
raspasov 2021-09-04T12:25:40.149100Z

I use React’s useImperativeHandle in order to expose a component :ref which I access from the CLJS side so I can call the function moveBox , for example

👍 2
pez 2021-09-04T14:38:25.150500Z

Cool. Thanks for sharing!

👍 1
dotemacs 2021-09-04T08:36:10.145900Z

Theres also Replete: https://replete-repl.org/

dnolen 2021-09-04T14:06:24.149800Z

Though Replete doesn't use RN if I recall

mfikes 2021-09-04T14:17:26.150100Z

Right, Replete doesn't use React Native

dotemacs 2021-09-04T14:41:12.150900Z

My bad

pez 2021-09-04T15:03:13.151500Z

The request was not about RN, though.

2021-09-04T19:47:57.151800Z

Cant’ wait to try — thanks ya’ll!