DEV Community


Discussion on: VueJS - Reusable Data Fetcher Component

scpnm profile image
Neil Merton

Thanks for the article. Quick question though, where is initialState being set on this line: data: this.initialState?
Should it be data: this.initialValue as set in the props collection?

vcpablo profile image
Pablo Veiga Author

You are right @scpnm !
Thanks a lot!

I've fixed it!