react-native-paho-mqtt
react-native-paho-mqtt copied to clipboard
Error in ReactJS
I am getting following error when I try to use react-native-paho-mqtt in ReactJS app.
./node_modules/react-native-paho-mqtt/src/Client.js
Module parse failed: Unexpected token (27:5)
You may need an appropriate loader to handle this file type.
| // ------------------------------------------------------------------------
|
| type ConstructorOptions = {
| uri: string,
| clientId: string,
Can it be used in ReactJS app?
I have the same issue. Is there a solution?