October 26, 2024
Chicago 12, Melborne City, USA
javascript

In React Functional component why bracket notation of object is not working


at titlename.name is working but titlename[name]is not working (https://i.sstatic.net/4aVjMhXL.png)orking properly

during my learning journey of react while experimenting on functional component the parameter of functional component is a object to access the object key on using dot notation it is working properly but in square bracket notation it is not working why..?
I am expecting reason for the question



You need to sign in to view this answers

Leave feedback about this

  • Quality
  • Price
  • Service

PROS

+
Add Field

CONS

+
Add Field
Choose Image
Choose Video