Quantcast
Channel: Active questions tagged react-native+typescript - Stack Overflow
Viewing all articles
Browse latest Browse all 6287

How to connect React Native app to NATS server?

$
0
0

I have a NATS server with standard port 4222 (for ex: nats://[IP]:4222 ), my app is made in React Native (with Typescript) and I want to connect to it. The main problem is that I can't find a way to add the nats client dependency correctly into react native. I tried with nats.ws, nats.js, nats.ts, all without any luck, is there a way to fix/implement this type of connection? Any help is appreciated, thanks


Viewing all articles
Browse latest Browse all 6287

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>