Clojurians
#cljsrn
<
2015-12-11
>

This page is not created by, affiliated with, or supported by Slack Technologies, Inc.

artemyarulin18:12:28

hey guys, check this out - cross platform Om-Next component for mobile and browser + simultaneous editing on both platforms using figwheel: https://github.com/artemyarulin/ktoa/raw/master/omnext.browser.mobile.gif

monjohn18:12:01

@artemyarulin: That is sweet!

mfikes19:12:09

@artemyarulin: Holy c**p! Awesome! If we can pull off Android and React Native Desktop demo of live Figwheel editing 4 target platforms at once, then that would put things way over the top.

artemyarulin19:12:00

Nah, anything related to the android makes me vomit, I’m an apple boy :simple_smile: I’m going to concentrate on om-next integration with RN as I need it for myself

mfikes19:12:11

Hah! I wrote an Android app and held the vomit down.

artemyarulin19:12:45

:simple_smile:

mfikes19:12:10

Since it makes 20-40x less money than its iOS counterpart app, I’ll never go down that path again.

artemyarulin19:12:38

Well with RN hopefully we would get android for free, so kinda good thing even for such a small revenue

mfikes20:12:02

@artemyarulin: You should write about or at least Tweet about that animated gif above. It’s worth sharing more broadly :simple_smile:

artemyarulin20:12:42

David Nolen did it already :simple_smile:

johannjohann21:12:49

@artemyarulin i ran into some gotchas when i started using the rn navigator with om next

johannjohann21:12:11

basically when you use components inside a navigator's 'renderScene' callback, the om next component doesnt have its internal 'parent' attribute set properly

johannjohann21:12:13

the gotchas show up when you start trying to transact stuff etc

artemyarulin22:12:15

@johannjohann Sorry, I’ve just started with om next on RN - haven’t tried anything but basic components

johannjohann22:12:07

yeah i just wanted to give you a headsup

artemyarulin22:12:20

I’ll let you know if I find anything related to this

johannjohann22:12:53

once i have some free time ill try to demonstrate the minimal case

artemyarulin22:12:05

Oh yeah - then I’m certain we would find a solution for this. Navigator is quite important component in any app nowadays

johannjohann22:12:08

i solved it by just rebinding the parent and reconciler dynamic var but perhpas theres a better way