@nicolas search for theme exodus.its persona fork with widgets, it not finished but it can help you to see the code
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