Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
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.
Like this?
https://github.com/NodeBB/nodebb-widget-essentials/blob/master/public/templates/widgets/activeusers.tpl
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