 Because even today, in 2022, with the SharePoint Framework version 1.15.2, the Yeoman Generator for SPFX is still creating React class-based components.