58

React (and Om for cljs) looks extremely appealing but I imagine it is probably not possible to use non-React components e.g. jQuery and jQueryUI ones together with React code on the same page/app.

Can anyone confirm?

1
  • 14
    React works within a virtual DOM, so it isn't very useful to manipulate objects on the actual DOM in parallel. In this way, jQuery and others don't play too well with React. However, there are ways of referencing the actual DOM, through getDOMNode(), etc that will allow you to integrate your existing jQuery plugins to work with React. See facebook.github.io/react/docs/working-with-the-browser.html for more info. Commented Feb 10, 2014 at 9:33

1 Answer 1

46

Yes, react can play well with your libraries.

Check out the documentation:Integrating with Other Libraries

Sign up to request clarification or add additional context in comments.

3 Comments

While it can play well, you have to be careful, because if your other library happens to modify some part of react-controlled HTML, your app will stop working. You have been warned.
@jmingov Both links are dead.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.