Answer the question
In order to leave comments, you need to log in
Why is reactjs killing jquery?
There is a "component" in react + a bunch of jquery plugins, so all plugins die when react is connected. The console is empty.
And if you remove
this.test = ReactDOM.render(<test/>, document.getElementById('test'));
Answer the question
In order to leave comments, you need to log in
because VirtualDOM works under the hood, which diffs some object with the real DOM and, in case of a mismatch, rolls back all changes to the DOM.
try to initialize plugins via ref in react itself
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question