Skip to main content

All 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 ...
Daiana Gimenez's user avatar
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 ...
dwiki setyawan's user avatar
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 ...
Cap's user avatar
  • 101