Say I want to click a button, perform a GET request, and replace the content of static elements on screen: heading, paragraph, image. What's the preferred method of doing this?
What works is to:
1. assign a click event to button
2. perform the request
3. Set the returned data to a variable
4. Bind the static content props to the content of the variable, such that as it's updated (on click) the content updates
This works, but I'm wondering if there's another / better way? Is "storing remote data in a variable and binding to content" the preferred "toddle" way?