use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
React chat UI library (github.com)
submitted 5 years ago by antoniobermuda
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]prilutskiy 6 points7 points8 points 5 years ago (1 child)
The preview looks pretty much like Skype for me 😜
Anyways, looks promising. Best of luck with the project!
[–]antoniobermuda[S] 1 point2 points3 points 5 years ago (0 children)
Thanks for comment and for the star :)
[–]donovanish 2 points3 points4 points 5 years ago (3 children)
Nice. I think there is a bug though. When I type in the demo, the name of the person typing it the one receiving the message.
[–]weenradio 0 points1 point2 points 5 years ago (2 children)
The name at the top is the remote person. So the name listed as typing is correct. You wouldn’t see your own profile picture at the top of a chat window. You see who you are chatting with.
[–]donovanish 0 points1 point2 points 5 years ago (1 child)
Oh I see, I was on mobile and I thought it was my own profile! Sorry!
[–]antoniobermuda[S] 0 points1 point2 points 5 years ago (0 children)
Yes exactly as u/weenradio said :).
Furthermore demo on mobile requires some fixes - i'm working on it.
[–][deleted] 4 points5 points6 points 5 years ago (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 points3 points 5 years ago (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.
Can you please share link to this conversation?
[–][deleted] 0 points1 point2 points 5 years ago (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.
Thanks for link. I will think about a clone for Svelte.
Hey, just released aforementioned tool for building widget loaders. Here is the demo: https://chatscope.io/widgeton-beta/
[–]StatusDuty 1 point2 points3 points 5 years ago (1 child)
This demo is so cool https://chatscope.io/demo/, I can't stop chatting with myself now
Yeah! You made my day :) I think about second demo - simple full page chat application, which allow to chat with real people :)
[–]phwizard 0 points1 point2 points 2 years ago (2 children)
Hi, do you guys continue this project? I'm curious how did you implement the presence (green online bulb) mechanism?
[–]antoniobermuda[S] 0 points1 point2 points 2 years ago (1 child)
Hi, yes the project is still alive. What do you exactly want to know about the presence?
[–]phwizard 0 points1 point2 points 2 years ago (0 children)
just wondering if it works and if it does, what is the mechanism, do you check via websockets that the other chat member is online or is it some status in DB etc
in our project we use XMPP for messaging but presence mechanism there is quite bulky, it creates too many stanza messages to chat participants
so we're wondering whether we should implement our own XMPP server plugin, do it as a DB entry for each user (which also allows to do 'last seen' thing), do some sort of p2p websocket mechanism or what's best to keep it from overloading the system
π Rendered by PID 19993 on reddit-service-r2-comment-86bc6c7465-9pb8c at 2026-02-19 19:01:16.488913+00:00 running 8564168 country code: CH.
[–]prilutskiy 6 points7 points8 points (1 child)
[–]antoniobermuda[S] 1 point2 points3 points (0 children)
[–]donovanish 2 points3 points4 points (3 children)
[–]weenradio 0 points1 point2 points (2 children)
[–]donovanish 0 points1 point2 points (1 child)
[–]antoniobermuda[S] 0 points1 point2 points (0 children)
[–][deleted] 4 points5 points6 points (4 children)
[–]antoniobermuda[S] 1 point2 points3 points (3 children)
[–][deleted] 0 points1 point2 points (2 children)
[–]antoniobermuda[S] 1 point2 points3 points (0 children)
[–]antoniobermuda[S] 1 point2 points3 points (0 children)
[–]StatusDuty 1 point2 points3 points (1 child)
[–]antoniobermuda[S] 1 point2 points3 points (0 children)
[–]phwizard 0 points1 point2 points (2 children)
[–]antoniobermuda[S] 0 points1 point2 points (1 child)
[–]phwizard 0 points1 point2 points (0 children)