1448
submitted 1 year ago* (last edited 1 year ago) by dessalines@lemmy.ml to c/announcements@lemmy.ml

This is an opportunity for any users, server admins, or interested third parties to ask anything they'd like to @nutomic@lemmy.ml and I about Lemmy. This includes its development and future, as well as wider issues relevant to the social media landscape today.

Note: This will be the thread tmrw, so you can use this thread to ask and vote on questions beforehand.

Original Announcement thread

you are viewing a single comment's thread
view the rest of the comments
[-] starman@programming.dev 13 points 1 year ago

A bit technical question: how do you manage to build performant comment trees on frontend?

[-] dessalines@lemmy.ml 14 points 1 year ago

https://github.com/LemmyNet/lemmy-ui/blob/main/src/shared/utils/app/build-comments-tree.ts

The scaling / actual trees are done using postgres ltree in the back-end, with a path field representing a list of parent comment ids.

this post was submitted on 06 Aug 2023
1448 points (99.0% liked)

Announcements

2 readers
1 users here now

Official announcements from the Lemmy project. Subscribe to this community or add it to your RSS reader in order to be notified about new releases and important updates.

You can also find major news on join-lemmy.org

founded 5 years ago
MODERATORS