quick question:

why are post likes tracked as a number and not an array?

they aren’t, just exposed as a number rather than an array

they collect user IDs which is how it can identify if you liked it or not

but the way it displays like count is by outputting the length of the array

View all comments