S
S
sashadobrota2016-05-30 15:07:55
React
sashadobrota, 2016-05-30 15:07:55

React+Redux app performance issues, what's wrong with me?

There is an application, a simple calculator + integration with the service. Accordingly, there are different reducers for the calculator and the service. Conventionally, the application state looks like this:

{
  calculator: {
    //... 
  },
  service: {
    //...
    items: []
  }
}

When you start the application, the calculator works as it should, but making a request to the api and getting data - the calculator starts to work more slowly. I think it's because the application state gets too big, but I don't understand how to deal with it.
Any ideas? What am I doing wrong? Thanks in advance.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Mikhail Osher, 2016-05-30
@miraage

Try reselect .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question