How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

💡 Vue Typescript State Management : We can do better than “isLoading” in 2022

calendar_today January 4, 2022 person Julien domain monisnap

Sorry for the clickbait title, but I needed your attention 👀 Have you ever encountered code like this one : new Vue ({ el : ‘ #app ‘ , data () { return { info : null , loading : true , errored : false } }, filters : { currencydecimal ( value ) { return value . toFixed ( 2 ) } }, mounted () { axios . get ( ‘ https://api.coindesk.com/v1/bpi/currentprice.json ‘ ) .

open_in_new Read original post