Fork me on GitHub
#cljsrn
<
2020-12-17
>
Michaël Salihi07:12:20

@wei No TCP should be fine. Have you solved the problem?

wei07:12:54

no unfortunately, not on Windows/WSL. at least I have a workaround- switched over to my mac for the time being

wei07:12:14

I have another question actually, are there any docs on using npm modules? e.g. I'm trying to translate this npm example into cljs and not sure how to write the import command:

import AlarmClock from "react-native-alarm-clock";

let date = new Date();
date.setDate(date.getDate() + 1);
date.setHours(13, 55);
 
AlarmClock.createAlarm(date.toISOString(), 'My Custom Alarm');
(src https://www.npmjs.com/package/react-native-alarm-clock)

Michaël Salihi15:12:51

@wei Did you see my solution? It works for you?

wei17:12:41

yes, it works for me thank you!

👍 3
Michaël Salihi09:12:50

You should ask this question on the #clojurescript channel since it's not cljsrn specific.