My headcanon is certainly that Palpatine either ‘used the force to create life’ as he did with Vader, or cloned out Reys and Snokes and spare Palpatines.
While I was watching the movie for the first time I thought they were definitely going for that first idea. I still think it’s such a weird decision to literally make Rey his granddaughter.