I am not that much experienced in riot js. Hierarchy of tags which i created are like
<tag-1>
<tag-2>
<tag-3>
</tag-3>
</tag-2>
</tag-1>
Now i need to pass variable (whcih contains JSON) to "tag-3", and on every update of that variable how can i update "tag-3". Right now i am mounting "tag-3" like
riot.mount('tag-3', { comm: "Hello" });
where "comm" is variable, and after mount variable "comm" is not accessible in tag "tag-3" it show undefined. Another thing, each tag html is in a separate ".tag" and withing that tag i am calling other tag, like in "tag-1.tag" file "tag-2" is called and in "tag-2.tag" file i am calling "tag-3", and in "tag-2.tag" file i am mounting "tag-3"
How can i do that ?