Fork me on GitHub
#cljsrn
<
2015-11-22
>
mfikes03:11:05

This looks like it is easily translated to React Native—curious to see if it performs great on mobile devices: https://github.com/omcljs/om/wiki/Remote-Synchronization-Tutorial#building-a-simple-auto-completion-widget

mfikes06:11:12

I went ahead and tried it on React Native and it works fine: https://github.com/mfikes/auto-completion

noonian06:11:05

very cool! Whats the status of getting figwheel working with react native?

mfikes06:11:49

AFAIK this is the farthest down that path: https://github.com/decker405/figwheel-react-native

noonian06:11:41

thanks for the link

mfikes06:11:06

@noonian also FWIW, Natal sets up “poor man's Figwheel” for Ambly per http://blog.fikesfarm.com/posts/2015-05-30-poor-mans-figwheel-for-ambly.html

noonian07:11:36

Yeah, I got that working myself and then with Natal when it was released but iirc it would blow up on compilation errors and force me to restart.

noonian07:11:33

Thanks, I’m not doing anything with mobile right now but have just been keeping my eye on the landscape. Its exciting to know that I can use cljs to develop native apps the same way I do web.

anmonteiro11:11:38

@mfikes what is the js/FCJHttpClient that you use in your autocompleter demo?

anmonteiro11:11:43

never seen it before

mfikes12:11:18

@anmonteiro: it is constructing an Objective C class instance which delegates to AFNetworking for HTTP.

anmonteiro12:11:12

alright, thanks

anmonteiro12:11:19

so is FCJ something provided by React?

mfikes12:11:10

@anmonteiro: No. It is actually a class I wrote for use with the app I built with Goby. It is in that repo. I'd open-source it separately, but perhaps something like that is better built to work with React Native's bridge. “FCJ” is a prefix I was using for “FikesFarm Clojure” classes.

anmonteiro12:11:49

now I get it; I wasn't finding it anywhere, that explains why

anmonteiro12:11:57

I'll check Goby out

mfikes12:11:40

@anmonteiro: Goby illustrates an approach you can take in a world without React Native. The world has changed. :)

chadhs23:11:19

docs for driving Natal with Emacs+CIDER here: https://github.com/dmotz/natal/wiki enjoy simple_smile