I tend to go back and forth with this. I read the entire book but stopped doing the exercises at some point and focused on the project I wanted to do. I think it's good to have an overview so when you do run into some problem it may trigger your memory about something you read so you can easily find the documentation you need, but nothing really replaces coding.