striversity/gotr

Using templates with server sent events

Opened this issue · 0 comments

Hello,
Sorry for raising this as issue but just wanted to make a request here. Could you please create an example for using html templates along with server sent events. I've tried a lot but unable to achieve this. I'm facing 2 different problems

  1. The moment I enable the SSE headers in case of templates, all the styles disappear
  2. The data is not updating in the webpage in the case of template the moment I execute it again

I have also asked the same in this question stackoverflow

I would be thankful if you can share one poc.