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,
I am getting following error when I try to use react-native-paho-mqtt in ReactJS app.
Can it be used in ReactJS app?