Variable inside a component
Hi I have this variable inside a component which is set with API data that I am sending via attributes . Then , on a list I am referencing the variable to display the data using the repeat option . This works fine in the component but on my main page I do not see the list data being rendered . Does it mean I have to move the variable up a level ? There are a few ways to solve this . This page on contexts from the docs might help you decide which way to do it . You could choose to move the variable up a level . or send the data up with an event , or share it with a context . https://docs.nordcraft.com/contexts/overview