Anyway, I get all the categories and topics using this route: /api/categories
I think there is details on all topics also.
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