Closed aashutoshbarad18 closed 1 year ago
It is not so important to mention react import. The question is mainly about state topic. Anyway it has been added for class component
Sorry the question no. Above is 7 which is pure components in that we need react in import otherwise it is giving an error while executing it
On Wed, 12 Apr, 2023, 17:30 Sudheer Jonna, @.***> wrote:
It is not so important to mention react import. The question is mainly about state topic. Anyway it has been added for class component
— Reply to this email directly, view it on GitHub https://github.com/sudheerj/reactjs-interview-questions/issues/247#issuecomment-1505146468, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATPEMTSMYBGHXMHC25CHY4LXA2KOPANCNFSM6AAAAAAW3JJ2RA . You are receiving this because you authored the thread.Message ID: @.***>
As React is not present in import is it giving an error