Thread by Dennis Nicolae Farkas (2 replies) | Slack Archive
Thread Discussion
Started by Dennis Nicolae Farkas • Aug 12, 2025 6:51 AM
Total Replies
2
Participants
2
Activity
Quiet
— No recent activity
Duration
6:51 AM
Aug 12
Original Message
Thread starter
D
Dennis Nicolae Farkas6:51 AM
Hello, I have a React module and I want to improve its LCP (in this case, an image). I need to find a way to preload the image to boost my LCP score. Does anyone know a solution? I tried using useInlineHeadAsset, but it only runs once React has loaded, so it doesn’t help. The module’s image is dynamic, so I can’t hard-code a preload tag. I need a way for the template and the React module to communicate the image URL