I am integrating zoom meeting into magento 2.3.
I have added following code in requirejs-config.js to import/include the 3rd party js files :
var config = {
map: {
'*': {
react: 'https://source.zoom.us/1.8.6/lib/vendor/react.min.js',
reactDom: 'https://source.zoom.us/1.8.6/lib/vendor/react-dom.min.js',
redux: 'https://source.zoom.us/1.8.6/lib/vendor/redux.min.js',
reduxThunk: 'https://source.zoom.us/1.8.6/lib/vendor/redux-thunk.min.js',
loadSh: 'https://source.zoom.us/1.8.6/lib/vendor/lodash.min.js',
meeting: 'https://source.zoom.us/zoom-meeting-1.8.6.min.js'
}
},
shim: {
'react': {
'deps': ["jquery"]
},
'reactDom': {
'deps': ["react","jquery"]
},
'meeting': {
'deps': ["react", "reactDom","redux","reduxThunk","loadSh","jquery"]
}
},
deps :['domReady!']
};
But it gives me an error in browser console. Can anyone help me out from this error?
Uncaught ReferenceError: React is not defined
at Object.<anonymous> (zoom-meeting-1.8.6.min.js:2)