mirror of
				https://github.com/reduxjs/redux-devtools.git
				synced 2025-11-04 09:57:26 +03:00 
			
		
		
		
	The creation of react-dom has moved findDOMNode
As mentioned in [this post](https://facebook.github.io/react/blog/2015/07/03/react-v0.14-beta-1.html) `react-dom`has a number of methods originally part of `react`. One of these methods is `findDOMNode` which is used by `LogMonitor`. This commit uses `findDOMNode` from `react-dom` as per advice issued in the deprecation warning.
This commit is contained in:
		
							parent
							
								
									fc839a0896
								
							
						
					
					
						commit
						c5e6eac184
					
				| 
						 | 
					@ -1,4 +1,5 @@
 | 
				
			||||||
import React, { PropTypes, findDOMNode, Component } from 'react';
 | 
					import React, { PropTypes, Component } from 'react';
 | 
				
			||||||
 | 
					import { findDOMNode } from 'react-dom';
 | 
				
			||||||
import LogMonitorEntry from './LogMonitorEntry';
 | 
					import LogMonitorEntry from './LogMonitorEntry';
 | 
				
			||||||
import LogMonitorButton from './LogMonitorButton';
 | 
					import LogMonitorButton from './LogMonitorButton';
 | 
				
			||||||
import * as themes from './themes';
 | 
					import * as themes from './themes';
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user