Interviewer, please don't ask me hook again

I. PrefaceLet's ask you a few questions first. These questions are really asked by me in the interview. If they are true, I won't be able to correct themWhat are the advantages of writing hooks over writing class components?How do we encapsulate a hook?What is the hooks principle?Although the interview is cold, we still have to continue our stu ...

Added by Hallic7 on Fri, 12 Nov 2021 05:36:50 +0200