Reputation: 397
What should I do? The method is work either I use let
or const
.
As you can see at the image below, the variable is binded with my input element and used multiple times due to iteration.
(Does two-way binding is described as const
/let
when its value change / you can change its value?).
And here is the linter say:
Identifier 'electronic' is never reassigned; use 'const' instead of 'let'. (prefer-const)
Upvotes: 3
Views: 5474
Reputation: 118
There are 2 issues in understanding the technologies:
Upvotes: 4