Assuming GitHub, if the squashed commit links to the PR, that incremental history is still easily accessible to someone who wants to understand how a change came about. For someone just keeping up with a project, one commit per feature on main is much friendlier.