Topic: MDB jQuery and React version together - howto use it?
My Meteor project uses React controls and native HTML elements. I would like to use MDB for both.
Do I need to load both, the (a) default jQuery (native Bootstrap) and (b) React version of MDB separately? If yes, are there any known conflicts in using the scss/css,js twice? If yes, in which order shall the be loaded?
Jakub Chmura staff premium answered 5 years ago
Hi @lauff,
I'm afraid you can't use jQuery and React the way you want. I can say with great certainty that when you try to use clean bootstrap with MDB products, MDB packages will replace the default bootstrap functions and style. Otherwise, if you want to combine MDBjQuery with the MDBReact style package, react and jquery will also overwrite with the fact that here we will not be able to predict what the effects will be.
Best, Kuba
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Pro
- Premium support: No
- Technology: MDB React
- MDB Version: 4.26.1
- Device: Desktop
- Browser: Chrome
- OS: Windows 10
- Provided sample code: No
- Provided link: No