SilverWook said:
It’s a safe bet Rey had some training when she was very young, but does not consciously remember it, hence her ability to do the mind trick. And we saw toddlers training with sabers in the prequels.
It’s lazy and uninteresting writing to set up obstacles in front of a protagonist, and then they remember some secret powers whenever they need them to get out of jam.
Arguably a better idea, if Rey were trained when she was younger, would have been to make her not want those powers that she suddenly remembers. She mentally fights against it, and wonders where those forces are coming from, and who taught her … and there’s a real story there.
You actually see that one time in TFA, after the vision. She runs away and says she wants no part.
Unfortunately, that’s the only time she did anything like that. Any other time her forgotten, unnatural powers came to her, she was eager to jump into Wonderland and find out where the road went.