Extract a `react-blessed` Component and Add the `useInterval` Hook

InstructorElijah Manor

Share this video with your friends

Send Tweet

Currently most of the code for our React Terminal Dashboard is all in one big file. This can become a problem as we continue to build the dashboard as it can hard to managed. So, we'll move out each section of our dashboard (which is just one at the moment) into their own React component. Along the way, we'll refactor a useEffect/setTimeout to leverage the useInterval custom hook.