J
J
jazzus2018-12-29 17:02:28
Classmates
jazzus, 2018-12-29 17:02:28

How to pass props through a component?

I connect component 1

<1-component
     :projects="projects"
     >
     </1-component>

In the first component, I get the
props: [
'projects'
],
and pass it to the second
<2-component
     :projects="this.projects"
     >
     </2-component>

And in the second projects undefined. Is it possible to pass this without routes through the component and how?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Valery Ozhiganov, 2016-03-17
@vozhiganov

After all, there was an answer:
"Such an effect can still manifest itself when moderating posts. In this situation, as far as I understand, there is no solution at the moment except for comparing the results from stream.get."

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question