Closed Azim-Palmer closed 8 months ago
@Azim-Palmer Panel runs synchronously.
To do async update, just create a div
element and then update its content after call finished.
@Azim-Palmer Why you can't use Static, JSON API or Infinity Data Source to get the data before render the panel?
I'd like to augment the data with data returned from external fetch calls, a very cutdown example :
However the output doesn't wait for the async code to resolve.
If I change the data variable outside of an async block the panel shows the expected result
How would I go about doing this? It can't use the static data source.
Workaround
Making the calls synchronous works