Extract a custom useRequest hook to simplify fetching data in a react-blessed Application

Elijah Manor
InstructorElijah Manor

Share this video with your friends

Send Tweet

While extracting a custom useRequest hook from our Terminal React Dashboard we encounter a run-away useEffect bug. As a result we introduce the stop-runaway-react-effects tool to help detect the bug and then fix the it with useMemo and then the use-deep-compare-effect hook.