Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript

Jordan Watson
Jordan Watson
14,738 Points

React with jQuery Plugins?

Hi,

Long story short: What is the best way to call jQuery plugins along side React Components etc.

For more info read below:-

Firstly Im very much so familiar with React and how the whole life cycle works although I have been trying to use a plugin called isotope which is a jQuery plugin which allows you to pull off masonry layouts etc.

Although when called on componentDidMount or componentDidUpdate the plugin does init on the DOM object target although does not do the whole layout because its as if the children in which the have not painted/rendered complete therefore does not apply the inline styles to the child elements.