5 ms·
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 co
by supz_k 3y 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 https://talk.hyvor.com/docs/install)
- perryraskin 3y agoGood 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 3y agoNot 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?
- perryraskin 3y agoNo I think you are right. I guess in this regard it really is not so different after all. Thank you for your responses, I will definitely think about migrating over from the iframe I am using.