Thanks mate! I just started converting a small app from class to function components, hit this very obstacle, and fortunately your post got me going again.
Harshil is a JavaScript dev, community builder and open source enthusiast. He is a Major League Hacking Coach, Mozilla Representative, and GitHub Campus Expert. He builds apps for both mobile and web.
Thanks mate! I just started converting a small app from class to function components, hit this very obstacle, and fortunately your post got me going again.
Thank you for reading it! I am happy that this could help you. 😄