I asked this question on reddit, and the response was to buy the 2,000 dollar computer that I would only be using to compile an iphone app.
Given the cost, I've considered borrowing a friends computer for a few days/week to compile a react native iphone app to save myself from having to buy an Apple product.
Buy a secondhand Mac Mini for a couple hundred, and deal with the slower compile time? And then maybe sell the hardware if you don’t intend to ever have to recompile.