In this scenario the lack of performance was significant, so I would say it was necessary. If performance was adequate, different story.
For example. We have a redux based content editor that is quite slow. It is however more than performant enough for the use case. I would love it if someone refactored it though...