I've definitely been caught in the trap of chasing frameworks. What finally cured me of it was to go as deep into the JavaScript language as possible. Not sure if this works for everyone, but once I spent a lot of time learning the language under-the-hood, the shininess of the hot new framework or library lost its luster and I was able to focus on what I actually needed to accomplish.