Hi! I'm Ceyhun 👋
I am a Software Engineer focusing on mobile apps. I've been doing native iOS development my whole life until recent years, where I developed a passion for React Native.
You can also find me on Twitter, GitHub and LinkedIn.
You may have a custom text input class component that exposes some methods which you can call via holding a ref to it. We'll show you how to do the same thing with a function component with hooks.
By depending on an interface instead of an implementation we can make our components more flexible and more testable by injecting different dependencies when testing.