144 (or higher) Hz is the only situation i would recommend an i7 7700K over a Ryzen 7. Even paired with 3200 MHz RAM, the i7 7700K remains ahead in most titles pretty consistently. The Ryzen 1800X is by no means far behind, usually 5-15 FPS (however this slightly decreases the higher the Resolution) at most but if you want to push as high as possible towards the maximum FPS of your display, the 7700K will do the best job at that. Hope this helps
Here is a good source across different Resolutions and Games. http://www.eurogamer.net/articles/digitalfoundry-2017-amd-ryzen-7-1800x-review.