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?

KingCode
  • 858
  • 1
  • 9
  • 9
  • 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 http://facebook.github.io/react/docs/working-with-the-browser.html for more info. – Dave Feb 10 '14 at 09:33

1 Answers1

46

Yes, react can play well with your libraries.

Check out the documentation:Integrating with Other Libraries

Edgar
  • 6,022
  • 8
  • 33
  • 66
jmingov
  • 13,553
  • 2
  • 34
  • 37