What is the difference between a “compound component” and a “DOM component” in a reaction?
Official documents compare the two terms with each other in several places, but do not really explain them. For example: https://facebook.imtqy.com/react/docs/component-specs.html https://facebook.imtqy.com/react/docs/working-with-the-browser.html
From reaction 0.14, several test utils methods, such as findRenderedDOMComponentWithClass, no longer accepts "DOM components".
It is clearly defined on the test-utils page. Thus, the DOM component is a simple div or span. Unlike CompositeComponent, which can be a div, but created, but using React.createClass ().
Source: https://habr.com/ru/post/1233586/More articles:How to sort RDD tuples with 5 elements in Spark Scala? - sortingConvert a normal property to a dependency property - vb.netCheck file extension and file size before submitting a form - jqueryRestored png image is black - phpYii2 Converting from an integer to datetime to display and store in an integer database - phpFetching data based on distribution data - pythonCalling the undefined method Composer \\ Autoload \\ ClassLoader :: setPsr4 () - phpconfused how .split () works in Java - javaIn Java, should getters or interface tags be used for persistent properties? - javahow to run a batch file in Node.js with input and get output - javascriptAll Articles