Fork me on GitHub
#cljsrn
<
2016-12-25
>
dvcrn05:12:22

hey cljsrn people!

dvcrn05:12:41

I am about to start a new app (very music central and a fair bit of animations) and currently have to decide on the technology

dvcrn05:12:04

I have almost no experience in Swift but I know RN and cljsrn (with re-frame) fairly well

dvcrn05:12:22

however I didn't follow the development for almost a year now and am a bit rusted on what the state is

dvcrn05:12:40

what would you say? go with react or learn swift

dvcrn05:12:28

some core concepts: - animations needed - a lot of interaction with music (crossfading, buffering, playing from network, analyzing for BPM) - longpoll socket based for realtime stuff

dvcrn07:12:01

well, I'm going to try to hack a little reagent version and see how it goes 🙂

savelichalex08:12:58

@dvcrn you can it any time write module in obj-c to interaction with music))

pesterhazy09:12:04

animations work RN, though maybe not as quickly as native

pesterhazy09:12:30

longpolling sockets are no issue with javascript, it's async after all

pesterhazy09:12:53

real-time interaction with music may be tricky

pesterhazy09:12:10

you may need to write a native module

misha09:12:11

I'd go native music, rn - ui

pesterhazy09:12:50

so the only real difficulty in my mind is if you can make the music react to the sliders quickly enough

pesterhazy09:12:36

in general for real-time stuff, RN is not a perfect fit

dvcrn10:12:52

luckily music scrobbling won't be necessary. The only way you can interact with the music is to pause/next/prev 🙂

dvcrn10:12:31

clojure-spec is pretty cool. Already liking it more than prismatic/schema