At my company we were told cost parity would occur around 2023 (this was in the 2015 time period), and I think we are probably a year or two early (surprisingly). However, unless there are continued technological breakthroughs the costs will be dependent on material and labor costs and difficult to reduce meaningfully. There are location\climate factors that impact the cost benefit calculation, so its not quite as easy as x vs y, unfortunately. Also, many locations that are strong advocates for anti-nuclear, coal, and natural gas also suffer from NIMBY-ism when it comes to solar farms or wind farms.
I still find it strange that we export LNG to China and import solar panels, but whatever.