DEV Community

loading...

Discussion on: VueJS - Reusable Data Fetcher Component

Collapse
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?

Collapse
vcpablo profile image
Pablo Veiga Author

You are right @scpnm !
Thanks a lot!

I've fixed it!