B
B
beefront172018-09-07 09:25:19
JavaScript
beefront17, 2018-09-07 09:25:19

How to improve performance, react/redux?

Hello! Please tell me how best to write to improve performance on react / redux?
Now there is a large component that is displayed in a loop, that is, a list of such components.
And this list takes a little longer to load.
The Item component itself consists of logic plus render methods
, for example

renderHover = () => {
    return (
      <div>
       {/* some hover block with a lot of markup*/}
      </div>
    )
  };

The question is whether the performance will improve if such render methods are moved to separate components?
I would be grateful for any advice on this topic)

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question