For high-level theory and more practical implementation of RNN & LSTM with TensorFlow, two books:


Hands on Machine Learning with Scikit-Learn, Keras, and TensorFlow (Aurelion Geron) 8, its repo is also code-rich, Chapter 15 5, Chapter 16 8


AI and Machine Learning for Coders (Laurence Moroney) 10, Chapter 7

or Course 3 of TensorFlow Developer Program - DeepLearning.AI 1