
If you thought about hand history, you are absolutely right. Hand history, which is very important, is foreign to the context in which poker is actually played. Hand history is a large and complex block, far removed from reality. It has no sense of time, no visual sensations, and is completely static. A real poker hand has movement, action, experience, emotion. The way you experience hand history is completely different from what you experience when playing a real hand. Moreover, what you learned from hand history (as well as books, forums) will not be applied in actual play.
This partly explains the existence of players who analyze hands perfectly but perform poorly in the game. This phenomenon has many names: “theory crafters,” “keyboard jockeys,” etc. These people have developed their skills from the context of hand history, reading forums, or commenting on players, but they cannot apply all of that in a real poker game.
Once it reaches a certain degree, the problem becomes unmanageable. The further we move from the context, the harder it is to return. That's just how it is. How to avoid such traps?
The first and most effective way would be to try to replicate the real context. For example, do everything you can to make the hand history as similar as possible to a “live” poker hand. Try to upload all important hands to a hand replayer to get visual feedback as close as possible to a real poker hand. This may seem like a waste of time, but visual cues will help you transfer what you learn more easily into the real game.
You can also try to visualize the hand as if it were happening in reality. Try to 
Another thing you can do is try to “import” the lesson from hand history through self-talk. For example, let's say you are reading a hand about a great 3-bet river bluff. Instead of just thinking to yourself, “Next time I'll do this” (a resolution that almost never materializes), write down an effective instruction for yourself. For example: “When I can represent a backdoor flush, I will 3-bet bluff the river.” Keep that note in a visible place for the next time you have a poker session. Ideally, you should read this instruction from time to time to remind yourself of it. This way, there will be more chances that when the right moment comes, you will use the 3-bet bluff on the river, and the hand you learned will come back to you, making you want to play it again.
Haseeb Qureshi