1×
Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.

Autoplay

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

    reactReact

    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.