The naive approach definitely leads to rote learning of factual trivia, but proper prompts can definitely foster curiosity and understanding. In fact it's often times the process of creating new prompts that reveal a gap in my understanding.
This Article from Andy Matuschak is a very thorough introduction to the art of prompt writing: https://andymatuschak.org/prompts/
Of course it doesn't mean that practical experience is obsolete, quite the opposite. But spaced repetition works great in conjunction with practice. I'd go so far that it's more effective to do both, than just practical experience.