[PR #88] [CLOSED] refactor(image): introduce resolveImageSource function to streamline image prop handling #296

Closed
opened 2026-05-06 12:39:02 +02:00 by BreizhHardware · 0 comments

📋 Pull Request Information

Original PR: https://github.com/cloudflare/vinext/pull/88
Author: @ygcaicn
Created: 2/26/2026
Status: Closed

Base: mainHead: main


📄 Description

Added a new utility function, resolveImageSource, to consolidate the logic for resolving image source properties (src, width, height, blurDataURL) in the Image component and getImageProps. This change enhances code maintainability and ensures consistent behavior across components.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/cloudflare/vinext/pull/88 **Author:** [@ygcaicn](https://github.com/ygcaicn) **Created:** 2/26/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `main` --- ### 📄 Description Added a new utility function, resolveImageSource, to consolidate the logic for resolving image source properties (src, width, height, blurDataURL) in the Image component and getImageProps. This change enhances code maintainability and ensures consistent behavior across components. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
BreizhHardware 2026-05-06 12:39:02 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/vinext#296
No description provided.