With these it helps This is a solution that partly works for me by updating only the onSubmit() function code. The solution still has one downtime as it only send the last selected value to the server side. At this junction, this the best solution I have for now with help from Mr. Alexander Deck..
I hope this helps . That’s not a React error. That’s based on your module loader (webpack, I’m guessing?) treating the jQuery plugin as if it were an ES2015 module. Try importing your plugin in the CommonJS style. In other words, replace:
import mCustomScrollbar from 'malihu-custom-scrollbar-plugin';
var mCustomScrollbar = require('malihu-custom-scrollbar-plugin');
How to ignore internal ReactJS code in the call stack while debugging ReactJS
Reactjs: How to properly fetch each users record from database on pop button click using Reactjs
should help you out The problem is you're making the request in the App component and storing in state but you're trying to access the state in a child component so it will never actually read the data. To fix this you need to pass in the chat data via prop