I think this is a problem you have to deal with as a developer and this is not limited to the JS/Web world.
Golden rule here is: expected major problems on major releases.
Personally I always try to take with any Beta Phase on libraries I have on radar so breaking changes can come to surface as soon as possible. Also keep an eye on change logs on major releases is a good idea since at least on a slightly bigger framework they are usually well maintained.