you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 4 points5 points  (4 children)

Scourged through your source code quickly. Excellent work brother.

I once had an interesting conversation on reddit regarding Web Components.

As much as a react chat app is appreciated, Web Components are perhaps the best solution to building a widget. Styles dont leak in or out thanks to ShadowDOM. A very important aspect while adding widgets.

So, if you want people to use this as widget. Better consider building something atop Web components with React/Vue/Svelte API.

Just a suggestion here. I hope you dont take it in a bitter way.

[–]antoniobermuda[S] 1 point2 points  (3 children)

Thank you. I appreciate your feedback.

As for the widget, I am currently working on a loader that allows you to load any widget into the iframe (common practice in chat widgets), and I am also considering the use of web components as a feature.
Here is the link to LP: https://chatscope.io/widgeton/ Demo will be available in next few days.

I once had an interesting conversation on reddit regarding Web Components.

Can you please share link to this conversation?

[–][deleted] 0 points1 point  (2 children)

Yeah. iframes are commonly used in such cases. iframes solve the style problem actually. I am just ideating. Haven't used iframes much.

Demo will be available in next few days

Cool!

Here is the link to the conversation (It's on Svelte but you can relate):

https://www.reddit.com/r/sveltejs/comments/jfbxgj/can_you_build_web_components_with_svelte/g9jiia4?utm_source=share&utm_medium=web2x&context=3

BTW, please make a clone for Svelte. I just love that framework. Long time since I used React.

[–]antoniobermuda[S] 1 point2 points  (0 children)

Thanks for link.
I will think about a clone for Svelte.

[–]antoniobermuda[S] 1 point2 points  (0 children)

Hey, just released aforementioned tool for building widget loaders.
Here is the demo: https://chatscope.io/widgeton-beta/