Test-Driven React 2: Text refers to "refactoring into HOC" (page 121)

Text says

Refactoring components into HOCs has the advantage of keeping code in
manageable units,

but HOC are not used anymore (in the book at least), as explained when introducing hooks.