top | item 36961602

(no title)

supz_k | 2 years ago

Hey! Great question.

The installation code has two parts:

<script> that registers the element <hyvor-talk-comments> element in the place user needs to load comments

The script is hosted in our servers so we can push updates anytime we want.

I hope that makes sense? (Our installation guide: https://talk.hyvor.com/docs/install)

discuss

order

perryraskin|2 years ago

Good point, I guess that’s true. So regarding your users being able to see your raw JS? What helped that decision be made? I assume that since it’s not your actual React code that makes it a bit better? Sorta?

supz_k|2 years ago

Not sure if I understood the questions.

In both iframes and Web Components, a Javascript code (Preact in our case) rendered the comments element, there is no much difference.

Maybe we are not on the same page?