mirror of
https://github.com/atom/atom.git
synced 2026-02-17 01:51:54 -05:00
Remove shouldComponentUpdate hook
Will be replaced by manual update logic anyway. Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
This commit is contained in:
@@ -12,6 +12,3 @@ CursorComponent = React.createClass
|
||||
WebkitTransform = "translate(#{left}px, #{top}px)"
|
||||
|
||||
div className: 'cursor', style: {height, width, WebkitTransform}
|
||||
|
||||
shouldComponentUpdate: (newProps) ->
|
||||
not isEqualForProperties(newProps, @props, 'pixelRect', 'defaultCharWidth')
|
||||
|
||||
Reference in New Issue
Block a user