In this lesson we will start to create a terminal React application with react-blessed
, which is a custom renderer for React. If you already know how to use React with the DOM, then you should be able to leverage a lot of what you already know to build an app for the terminal.
Curious about the useRef for the timer. Is it really necessary in this instance?
Phil, no it's not necessary in this case. If I wanted to pull out a custom useInterval hook then it gets really complicated. I simplified that whole bit in the next lesson.
Great, thanks.