Answer the question
In order to leave comments, you need to log in
Why does the Redux store change?
Hello.
I observe very strange behavior in the functional component
Stack React / Redux
Such a situation.
In a functional component, through props, I get an array from the redux store
Let 's say
const GroupUsersList = (props) => {
const modules = props.data
if (чего то там) {
modules.users.push({ _id: user._id, name: `${user.ФИО} (${user.login})` })
}
return (
<>
</>
)
}
export default GroupUsersList;
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question