In this lesson we replace `React.createRef()` with the `React.useRef` hook. The API is almost identical, so the there’s not much to it, if you’re already familiar with refs. In React, refs provide a way to store references to native DOM elements. Throughout … more
Categories: News
0 Comments