Set variable in child from context
On my parent page I have an API call that is being passed down in context via a formula . In the child page , I want to set the data from the formula in a variable . If I set the variable 's initial state to the context , I think there 's a timing issue . When the variable checks the initial state , the context is empty . Then the context gets it 's data but doesn 't update the variable . The only trick I can think of is having the parent component pass the context bar as a variable Context var Sorry pass the context bar as an attribute it should say 🙂 Because I 'm pretty sure I did what you are describing here A variable 's initial state being set from a context But I thought it worked 🤔 Which was enough for the API data to be available Thanks guys 🙂
.jpeg/public)