#Error: Avoid app logic that relies on enumerating keys on a component instance.

4 messages · Page 1 of 1 (latest)

little vessel
#

It seems like you are enumerating over keys in a component instance, like the error says 😝

Could you share a bit more of what you are doing with the component?

barren vessel
#

@little vessel
Nothing special I guess. Rendering it via v-for. In component I only render things base on params.

little vessel
#

Try changing the for .. of .. to a for … in .. loop.
I think the for-of loops are for iterating through entries of an object

#

So it should be v-for=‘item in filteredPublications’