Answer Overflow Logo
Change Theme
Search Answer Overflow
GitHub
Add Your Server
Login
Home
Popular
Topics
Gaming
Programming
mavali
Posts
Comments
S
SolidJS
•
Created by jaak on 6/2/2024 in
#support
Path syntax flexibility
you could use shallow merging and do :
updateUsers([1,3], {loggedIn: false})
updateUsers([1,3], {loggedIn: false})
Its still compact and works if you don't like specifying the property as a string.
13 replies