Skip to content

Value State binding #55

Answered by Tao-VanJS
efpage asked this question in Q&A
Jun 9, 2023 · 1 comments · 4 replies
Discussion options

You must be logged in to vote

This is standard JavaScript feature called property value shorthand. Here is an article that explains the feature: https://www.geeksforgeeks.org/shorthand-syntax-for-object-property-value-in-es6/.

Basically {value} is just a shorthand-way to say {value: value}.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@efpage
Comment options

@Tao-VanJS
Comment options

@efpage
Comment options

@Tao-VanJS
Comment options

Answer selected by Tao-VanJS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants