All Questions
3 questions
0
votes
1
answer
17
views
How do I pass a Redux param to a component?
I am doing a project with React y React-Redux
I am using an api, create a Search component to bring data from this api but I do not know how to pass the word (from what is searched) of redux to the ...
0
votes
1
answer
241
views
ReactJS duplicate component when dispatch the redux action with useeffect
im new on react. im using react 18, so my problem is.. i dont know what just happen, when i dispatched the action and call it with useeffect, react just render the component twice, it will solve if i ...
0
votes
1
answer
196
views
How to cleanup an async funtion on componentDidUpdate using hooks
I've a component upon whose mounting, I'm subscribing to a socket(async task) and I've to unsubscribe(async) in upon unmounting. When the component updates, I've to unsubscribe to the old socket and ...