I made a separate post about this question,
you can see this link: Why "setUsers([savedUser, ...users])" not make "name: Mosh" twice instead of one only? - #5 by Jorge
I made a separate post about this question,
you can see this link: Why "setUsers([savedUser, ...users])" not make "name: Mosh" twice instead of one only? - #5 by Jorge