Hey Craig,
FYI, I think before I move much further forward in this venture, I'm going to create a new
Vue component where I remove all
vue-pubnub SDK references and rewrite all API calls with the
PubNub Node.js V4 SDK 4.23.0.
I am having issues with AJAX race conditions and I'm hoping having all the methods using a very clean
pubnub instance built with
node.js will solve the problem I am having going back-and-forth between the "
OUTDATED"
Vue.js docs and the Javascript SDK docs.
Today, I worked for hours and solved some race conditions using JS timers to delay some methods, but need to move to a
promise-based callback design where the
AJAX callbacks are clearly defined so I can gain more control over the AJAX timing issues. Using the
vue-pubnub component lib seems to not really give me clear
promise-based callbacks to build a "
race condition free" component in the
Vue lifecycle.