Skip to content

HT 1#3

Open
AlexandrUng wants to merge 2 commits intoromabelka:masterfrom
AlexandrUng:HT_1
Open

HT 1#3
AlexandrUng wants to merge 2 commits intoromabelka:masterfrom
AlexandrUng:HT_1

Conversation

@AlexandrUng
Copy link

No description provided.


switch (type) {
case ADD_USER:
return state.set('person', payload.person)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

задача добавлять новых, а не перезаписывать одного + лучше когда весь стейт immutable, а не только верхний уровень

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants