Mobs do not despawn when Mob Spawning is set to false
In 18w49a, existing hostile mobs would not despawn, but also would not react to anything when I set mob spawning to false, but in 18w50a, they continue to move and attack. I couldn't find if this is how the command usually works.