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