Fork me on GitHub
#cljsrn
<
2016-11-11
>
harrybin01:11:25

Wrap the result of the function in a reagent.core/as-element

harrybin01:11:09

so (fn [ ] (r/as-element [text "Hi"]))

vikeri08:11:56

I’m running into the npm transform taking like 10 minutes to finish… The emulator won’t wait that long but if I open localhost:8081/index.ios.bundle?platform=ios&dev=true&hot=false&minify=false in firefox it eventually completes and then I can load it in the app as well. Any one else running into this issue?

savelichalex10:11:36

@vikeri are you using default RN packager? looks like you use some server around packager, I have this issues with webpack and his server with express (not RN app)

vikeri10:11:18

@savelichalex Yes I’m using the standard packager