Again...the 8 in general needs to be optimized. It is not a hardware issue if the iPhone 7 doesn't have the same issue.But that doesn't explain why all apps were flushed from memory. This is a memory management issue.
This is really simple, I think....
Apple has plenty to do. iOS 11 is a lag fest on my 2nd gen ipad pro, but not on my 8 plus.