Basic
JD
John Doe Active 2 mins ago
JD
Hey, did you see Svelte 5 just got released?
1:38 AM
JD
Yes! The runes system looks really interesting!
1:41 AM
JD
Right? Such a big change from the previous reactive system
1:43 AM
JD
Have you tried migrating any projects to it yet?
1:46 AM
JD
Just started with a small one. The migration guide is super helpful
1:48 AM
JD
Any breaking changes causing issues?
1:51 AM
JD
The new $state syntax took some getting used to, but its cleaner now
1:53 AM
JD
The performance improvements are impressive too
1:56 AM
JD
Yeah, the compiler optimizations are amazing. Much faster now
1:58 AM
JD
Looking forward to using it in my next project!
2:01 AM
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.