alexjoverm / alexjoverm/v-runtime-template

Components get created twice inside template

Open
#42 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
601
Forks
71
PR merge metrics
No merged PRs in 30d

Description

Hello!

I'm having a problem with the v-runtime-template. Everytime a template gets inserted and rendered, it renders all the components inside it **twice**. I checked it with outputing the `_uid` of the component in the `created()` function and I two different instances of the component.

It's a problem for us, since some of the components that are inside the template are making REST request to the API, and we don't want to double the amount of them.

Any help or suggestions would be great!

Thanks!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.