The Ryzen 3 1200 should perform better. It has 4 physical cores, rather than just 2 cores with 4 threads, so it will tend to perform better in games that are more heavily multithreaded. Plus, unlike Intel's processors around this price range, the 1200 is unlocked for overclocking on B350 or better motherboards, and even on the included stock cooler it should be possible to get a fairly decent overclock. You'll probably want faster RAM though, as was suggested in Vapour's post, since Ryzen performs its best using faster modules. DDR4 3000/3200 shouldn't cost all that much more than the slower speeds though.
It should be noted that with a GTX 1050/1050 Ti level card at 1080p, performance will be limited more often by the graphics card than the CPU though, so the performance differences between the two CPUs might not be that large in many of today's graphically-demanding games. The faster CPU might help more with future games though, and help make the most of any potential graphics card upgrade in the future.
As for the graphics card, GPU pricing and availability has been a mess recently, and nearly all 1050 Tis are marked up quite a bit right now. The regular 1050 fares a bit better, and doesn't seem to be marked up quite as much, which might make it the better option. For comparison, looking at the current prices on PCPartPicker, you can still find some
GTX 1050s starting at around $135, while the
1050 Tis that are actually in stock (click through to check) start around $230 right now. Considering the 1050 Ti is on average only around 10% faster than the 1050, paying around 70% more for one is probably not a good value. It also has more VRAM, but that won't make as much of a difference at the resolutions and settings these cards can handle, so that money would probably be better saved and put toward a more powerful card later on when prices have hopefully become more reasonable and new cards are out.
I'm not sure if you plan on building the system right away, but the Ryzen 2200G processor might also be coming out relatively soon. It will likely offer slightly better stock performance than the Ryzen 1200 at around a $100 price point, though I don't know how overclocking performance will compare. It includes integrated graphics as well, but those should be much lower in performance than a GTX 1050, so you would most likely want a dedicated card anyway. Supposedly, the 2200G will be coming out on February 12th, but I don't know if it will be widely available at that time. And of course, it's difficult to say what graphics card prices will be like in a couple weeks. They might be a bit better, or they might be even worse.