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 solution?
what are the code changes required here?
New contributor
Mash Shetty is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.