Add a spinner (or other effect) while the HTTP request that triggers the banner compilation has not returned.
Implementation details:
- Use a a state variable (ref) for this
- Change the state variable when the HTTP requests starts (before fetch) and finishes (inside the fetch promise handler)
- Set a CSS class depending on the state variable (e.g. loading)
- Define CSS to animate something on the page