Wow! So turns out it was a silly error on my part. I had tried the Error object previously, but it was while looking at a different part of the code... I was actually looking/changing the 'imagekit' case in the code and being stumped as to why I was still seeing the behavior as I explained. Anyhow, it is working as it should when passing in an Error object. Thanks for the extra insight!
Bootstrap widget render with data
Is there any best practice in bootstrapping Widget with data?
Pre-rendered widget via backend isn't enough for me.
What are you trying to do?
@baris Widget where rendering done on client-side, and widget changes in real-time.
For initial rendering I would like to have some data, to bootstrap widget.
This pre-renders the list of active users from server data. And then has some inline JS with socket call to update the list as new users become active