Fork me on GitHub
#cljsrn
<
2016-09-13
>
jeeq01:09:38

@artemyarulin Thank you, I had to add :nrepl-port to :profiles { :dev { :figwheel {:nrepl-port 7888}}}. After that I was able to cider-connect as you said. Just leaving this solution just in case

keatondunsford05:09:03

Hey y’all. 🙂 Have any of you gotten this before in boot-react-native? I’m literally just trying to run the template example app and this red screen is screaming at me lmao.

TransformError: /Users/…/index.ios.js: /Users/…package.json: Error while parsing JSON - Unexpected end of JSON input
Looked at my package.json file but it looks fine. Not sure what’s up.

raspasov06:09:13

hey guys, I'm chasing a very weird/sporadic bug with om.next/ReactNative

raspasov06:09:38

has anyone encountered anything like this?

raspasov06:09:39

basically, om.next at some point calls (om.next/full-query ...) which in turn calls (om.next/get-indexer ...) and that's where the exception and crash happen

raspasov08:09:52

OMG I think I found it... basically don't render your componets in (map (fn [c] ...) [..]) aka LAZY sequences... always wrap the (map ....) call in (doall ) - if the component that you're rendering in a lazy sequence implements Query, bad things will happen

misha09:09:45

@keatondunsford extra comma in the end of a list?

boorad12:09:18

@keatondunsford put your package.json into an online json parser to verify it’s okay

surreal.analysis14:09:23

@raspasov To avoid wrapping the map in another doall, I’d also recommend using mapv, which is like map but eager and returns a vector

misha19:09:48

mapv is not that explicit, it makes reader wonder every time: "is it there for eagerness, or for vector?"