Fork me on GitHub
#cljsrn
<
2016-04-13
>
pesterhazy13:04:55

@hemingward: I just use cljs-ajax, works like a charm

pesterhazy13:04:14

it probably uses XHR (via google closure) under the hood

pesterhazy13:04:39

I don't see any advantages of using the fetch api honestly

hemingward13:04:46

@pesterhazy: thanks man! I just wasn't sure if it would be comparable with native or not, and I was running out the door yesterday when o posted my Q so wasn't really sure what others were doing. Cheers!

artemyarulin13:04:20

https://github.com/facebook/react-native/blob/master/Libraries/Fetch/fetch.js#L377 Like I said fetch wraps XHR under the hood. Just a better promise-based API, no other changes or performance difference

pesterhazy15:04:57

@artemyarulin: thanks for verifying

pesterhazy15:04:08

personally I can't stand the promise based api

pesterhazy15:04:33

I'm guessing that browsers actually implement fetch directly, whereas in RN it's just a shim

artemyarulin17:04:34

React Native coming to windows, yeaaah simple_smile

artemyarulin18:04:08

So I guess everyone in this channel should expect thousands of messages in LinkedIn from HRs tomorrow 😄

seanhess20:04:35

Hey all, I’m attempting to use re-natal to create a component / sub-view, and am confused. Basically, how? https://github.com/drapanjanas/re-natal/issues/38

seanhess20:04:24

I follow the instructions in reagent and get an error. Can anyone guide a new clojurian to the blessed path?