raymondcamden’s avatarraymondcamden’s Twitter Archive—№ 61,743

    1. I've got a vuex action where I do context.state.someArray.findIndex() and it is consistently running ONE time and not iterating over the array and not properly passing an array instance in. Is this expected?
  1. …in reply to @raymondcamden
    A bit of code: if(context.state.feeds.findIndex((feed) => { console.log('comp '+feed.rsslink+' to '+data.url); return (feed.rsslink === data.url); }) >= 0) { reject('URL already exists'); in the snippet above, feed is undefined