All Questions
Tagged with performance react-redux
34
questions
-1
votes
1
answer
33
views
How does useSelector hook impact performance when selecting individual properties vs. destructuring the state in Redux?
I am using Redux in my React application and I often need to extract values from the Redux store using useSelector. Here are the two approaches I have considered:
Approach 1: Selecting individual ...
0
votes
0
answers
32
views
React native application crash on Multiple state variable along with view has changed in a screen with out any error message
In my React-Native application, There is a screen where multiple state(using useState variable) change occurs simultaneously and according to it conditional rendering view has changed and as this goes ...
0
votes
1
answer
25
views
React Native FlatList: What's more performant, passing object or passing reference to object?
I'm using MaterialTopTabNavigator with React Navigation v6. Each tab contains a FlatList. I have an array of objects that I want to render in each list, and this object is stored in Redux. I have two ...
0
votes
1
answer
835
views
Updates are slow with Redux
I'm building a React Native app, using Redux and AsyncStorage. When a user deletes an item, updates happen a bit slow (2-3 seconds).
I have an array of objects (rather small).
I delete an item in this ...
1
vote
0
answers
117
views
Debounce Redux Thunk action creator function
In my React.js project, I have a form and on input change I am calling an action creator function updateTravellerForm. I am using lodash's debounce method. Also, I am using redux-thunk middleware.
...
0
votes
1
answer
2k
views
Redux dispatch action taking too long despite reducer function attached executes fast
I am getting chrome violation errors of type setTimeout handler took 500+ ms which are seriously blocking my app, and some happen every time an action attached to a websocket payload comes and is ...
0
votes
1
answer
406
views
axios get multiple id parameter issue
I am newbie for react app. I am fetching the details of data based on some parameters like start date, end date and serial numbers. I am passing multiple serial numbers as separated with comma value ...
0
votes
1
answer
684
views
How is performance affected by the dispatching of numerous actions in a React and Redux app?
How big of an effect do actions have on performance, more precisely: dispatching said actions?
Let's say the same action is dispatched 10 times in a row on a single user interaction with the UI, how ...
0
votes
1
answer
539
views
Will the react component be rendered twice if parent and child components use useSelector hook for the same data?
I want to know in the case shown below (parent and child components are accessing the same data) will the child component be rendered twice since useSelector hook re-renders a component on every ...
0
votes
1
answer
72
views
What is the limit of use of Redux in terms of performance?
I'm working on an application in React Native, with a lot of useless use of Redux, and once a person told me that it is good to avoid using Redux as much as possible, only use it in really necessary ...
0
votes
2
answers
2k
views
React performing slow on extreme socket updates
I'm building a trading application and using node on the server side and react on client side.The current issue which I'm facing is regarding react performance on very frequents updates.
My process is ...
0
votes
2
answers
271
views
User timing in Google analytics data is not showing
From my react application I enable debug mode for google analytics
and successfully event are getting triggered but it is not showing in Google analytics
ga("send", {hitType: "timing&...
1
vote
1
answer
993
views
React react-redux redux-persist performance issue
I am very new to react and redux at the same time.
I am building this app that has a questionnaire made up of a few hundreds of questions. I want to persist the answers to the questions in real time ...
1
vote
1
answer
55
views
What is the most efficient approach in a React Redux project that uses aggressive composition?
I'm developing a project that uses aggressive composition (each component will have lots of components in its tree and each of its components will have a significant number of components as well) and ...
0
votes
1
answer
521
views
Too Many commits in react profiler without renders
This is baffling...
I have a particular event that fires in redux which modifies a portion of the state (typical stuff) but it is slow and linearly related to the number of DOM elements on the page.
...