Javascript – error in react 18 -> The left-hand side of an assignment expression must be a variable or a property access
I updated my react version to 18 from version 17, after that this code --> data?.area?.width=['111','220'] is throwing error like this "The left-hand side of an assignment expression must be a variable or a property access.", what will be the…