Ghost/apps
Kevin Ansfield 5b6d8fb7a8
Added lazy-loading to comments (#19769)
closes ENG-678

The comments block is typically shown at the bottom of a post so it doesn't make sense to eagerly fetch comments from the API when we don't know if the comments block will even be viewed. By lazy-loading the data only when the comments block comes into view we can reduce both data usage for visitors and load on the site.

- uses IntersectionObserver API to delay comments app initialisation until the comments block has scrolled into view
- updated all iframe-related components to forward a `ref` so we can use the `<iframe>` element reference inside the `App` component
2024-02-28 12:52:24 +00:00
..
admin-x-demo Update Types packages 2024-01-15 21:04:04 +01:00
admin-x-design-system Input field visual design update (#19693) 2024-02-14 13:00:16 +01:00
admin-x-framework 🐛 Fixed trailing slashes not handled in Settings (#19640) 2024-02-01 19:23:22 +02:00
admin-x-settings Changed invisible class to opacity (#19729) 2024-02-21 18:39:47 +02:00
announcement-bar Update dependency vite to v4.5.2 [SECURITY] 2024-01-22 09:25:09 +01:00
comments-ui Added lazy-loading to comments (#19769) 2024-02-28 12:52:24 +00:00
portal Released Portal v2.37.4 (#19718) 2024-02-20 14:07:17 +01:00
signup-form Update dependency tailwindcss to v3.4.1 (#19395) 2024-02-13 14:28:02 +00:00
sodo-search Update dependency vite to v4.5.2 [SECURITY] 2024-01-22 09:25:09 +01:00