Remove shouldComponentUpdate hook

Will be replaced by manual update logic anyway.

Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
This commit is contained in:
Nathan Sobo 2015-01-23 10:28:45 -07:00
parent 3b93f3d71b
commit 500f992d32

View File

@ -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')