The Power of forwardRef in React.js: When and How to Use It
Introduction
React.js makes it easier to create user interfaces, but it can be difficult to directly access the DOM and component instances. forwardRef helps solve this problem by making it simpler to pass and manage references.
Direct Access Challen...
tigerabrodi.blog3 min read
Sweet and simple. I think to make it more beginner friendly you could have emphasised that the way forwardRef is being used is using it where you would normally declare a functional component. Although I knew of forwardRef I had completely forgotten how it's used as I don't really use it in my day to day use, and I had to go back at a second read through to spot this detail. If I'm not picking up on it immediately I imagine a beginner reading this might also struggle. Thus why I think the emphasising of what forwardRef is would be beneficial. Other than that, great article π