Clojurians
#cljsrn
<
2017-01-13
>

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

ejelome00:01:38

Can I get a last help before I sleep, hehehe, this one is causing an error and I don't know why:

(s/join " " (map (fn [c] (if (blank? c) "🍕" nil)) (s/split @char #" ")))

ejelome00:01:01

the problem is in the if condtion

ejelome00:01:31

oh got it, blank? is part of string namespace XD (perhaps I need to sleep)

martinklepsch05:01:42

The chinese version of React Native? https://weex-project.io/

wojciech06:01:35

It seems like they're going for "Write Once Run Everywhere" and it's based off vue.js, not react. However, all the rest seems really similar. Being backed by Alibaba it can seriously grow.

sova07:01:34

Nice find, that is rather new! Most of the info pages are still blank :smile:

rnandan27307:01:15

I am using re-natal to develop a iOS app and here are the steps according the re-natal website re-natal use-ios-device real re-natal use-figwheel lein figwheel react-native bundle --entry-file index.ios.js --platform ios --dev false --bundle-output ios/main.jsbundle --assets-dest ios lean prod-build The app works fine on Xcode with simulator and device Deploy to the App Store . However the app when installed from the App Store opens and goes in a infinite loop for “Waiting for figwheel to load files “ Any ideas on the missing steps

martinklepsch13:01:58

@wojciech It (https://weex-project.io/) also works with Rax a new React-like http://rax.taobaofed.org/

martinklepsch13:01:00

(which is horribly documented :smile: )

vikeri15:01:41

@rnandan273 It seems you have a development build deployed, in production it should never load fighwheel.

vikeri15:01:05

Not using re-natal though so I can’t help you with the exact steps required

rnandan27315:01:04

@vikeri what would be a better alternative to re-natal

rnandan27315:01:35

I am setting the release option on Xcode

vikeri15:01:26

@rnandan273 I’m using boot-react-native: https://github.com/mjmeintjes/boot-react-native/ and there’s also exponent: https://github.com/tiensonqin/exponent-cljs-template Exponent might be a convenient option if you are not using a lot of native functionality, haven’t used it though

rnandan27316:01:25

Ok thanks @vikeri will give a try with it

arulpugazh16:01:52

I’m developing a re-natal app. Made some small changes and now figwheel throws the "Don't know how to create ISeq from: clojure.lang.Keyword” error and it shows the 1st line as the cause. I’m unable to trace the cause, with all the java stacktrace :disappointed: Any ideas on how to trace where I’ve erred....

edwthomas16:01:26

@rnandan273 Like @vikeri said, you are using a dev build to package the app for release. Looking at the project.clj, it seems like you need to run lein prod-build before you run react-native command.

edwthomas16:01:09

at least that’s what it seems like :slightly_smiling_face: I’ve never released anything myself but thought I’d point that out in case it helps.

arulpugazh17:01:23

I found out the issue. I imported a namespace like this [namespace :refer :all] and that is the problem. Referring each function solved this :slightly_smiling_face: