Basic
JD
John Doe Active 2 mins ago
JD
Hey, did you see Svelte 5 just got released?
4:34 PM
JD
Yes! The runes system looks really interesting!
4:37 PM
JD
Right? Such a big change from the previous reactive system
4:39 PM
JD
Have you tried migrating any projects to it yet?
4:42 PM
JD
Just started with a small one. The migration guide is super helpful
4:44 PM
JD
Any breaking changes causing issues?
4:47 PM
JD
The new $state syntax took some getting used to, but its cleaner now
4:49 PM
JD
The performance improvements are impressive too
4:52 PM
JD
Yeah, the compiler optimizations are amazing. Much faster now
4:54 PM
JD
Looking forward to using it in my next project!
4:57 PM
JD
{initials(data.friend.name)}
{data.friend.name}
Active 2 mins ago
{message.message}
{message.sentAt}
{/each}
{initials(data.friend.name)}
Installation
jsrepo add ui/chat
Usage
CN
Hello, World!
Acknowledgements
This component takes inspiration from jakobhoeg/shadcn-chat.