Aaron William Po
|
915adb722a
|
Implement react-intersection-observer to facilitate infinite scroll
Uses react-intersection-observer to load more comments when the last of the previously loaded comments is in the viewport.
|
2023-04-09 18:41:58 -04:00 |
|
Aaron William Po
|
8981bcb4b8
|
Replace useSWR with useSWRInfinite to facilitate infinite scrolling
|
2023-04-09 11:25:10 -04:00 |
|
Aaron William Po
|
7db7b8264f
|
Switch database to cockroach db and remove height on comment card
|
2023-04-05 21:38:36 -04:00 |
|
Aaron William Po
|
796a5fce3f
|
Styling changes and refactor
Switch google fonts to use Next.js font optimization, animate comment fade in, and refactor beer like handler and comment submit handler.
|
2023-04-04 20:51:29 -04:00 |
|
Aaron William Po
|
a4362a531c
|
Add custom hooks for time distance and retrieving like count
Documentation added to all custom hooks
|
2023-04-03 23:32:32 -04:00 |
|
Aaron William Po
|
801a3c8ad3
|
Refactor comment cards out of comment section
|
2023-04-02 22:10:04 -04:00 |
|