Can anyone provide sdk sample for Reactjs?
marxyes opened this issue · 3 comments
hello can any one provide react js example how to start with quickblox ingratiation with react js web app ? they have not provided any single document how to start with that. they have just mentioned React js but when you try Quick Start guide you will stuck at very initial stage where we declare
var QB = require('quickblox');
I have also tried using import QB from 'quickblox'
but it dint work, it throwing error
./node_modules/quickblox/src/modules/chat/qbChat.js
Module not found: Can't resolve 'nativescript-xmpp-client' in 'F:\Project\Hotel App\chatapp\chatapp\node_modules\quickblox\src\modules\chat'
I think they have problem with npm package .
They have provide example for angular but not for Reactjs and vue js as they are market leader aswell.
So please any one can help to start with this lib integration with react js web app. ?
Same issue here ! Could anyone tell how do we solve it ?
import * as QB from "quickblox/quickblox";
This will solve the issue.
@marxyes Hello,
This is Nikolay from QuickBlox support.
Unfortunately, we do not provide support with React.JS.
However, you are free to use our Javascript documentation and samples:
https://docs.quickblox.com/docs/js-quick-start
https://github.com/QuickBlox/quickblox-javascript-sdk/tree/gh-pages/samples/chat