This shouldn't be too hard to ditch the old class component model. It doesn't rely on any special class features that hooks don't provide.