jackmoore / colorbox

A light-weight, customizable lightbox plugin for jQuery
http://www.jacklmoore.com/colorbox/
MIT License
4.75k stars 1.14k forks source link

Adding Colorbox to my ReactJS application creates “jQuery is not defined” #836

Closed jazithedev closed 7 years ago

jazithedev commented 7 years ago

I'm trying to add Colorbox library to my project created with create-react-app. I've installed jquery-colorbox package via npm and added imports in one of my *.js files.

The whole problem description is here: https://stackoverflow.com/questions/44850631/adding-colorbox-to-my-reactjs-application-creates-jquery-is-not-defined

jackmoore commented 7 years ago

Sorry, I do not know, but this does not seem specific to Colorbox. I'm going to close this since I expect you could replace Colorbox with any other jQuery plugin and be in the same situation.

jazithedev commented 7 years ago

All right. Worth trying ;). Thanks for the response.

jazithedev commented 7 years ago

If anyone would ask, the solution is on the Stackoverflow in here: https://stackoverflow.com/questions/44850631/adding-colorbox-to-my-reactjs-application-creates-jquery-is-not-defined :)