loktar00 / loktar00/react-lazy-load

Adding custom props for html elements

Open
#119 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
980
Forks
163
PR merge metrics
No merged PRs in 30d

Description

I wanted to use LazyLoad as an anchor tag and realized there was no customProps object option to add any possible html attributes (href in my case). Please let me know if this is possible. Thanks

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the LazyLoad component and its existing prop definitions to understand how element attributes are handled. Determine the scope of a customProps option for attributes such as href, then verify that LazyLoad can be used as an anchor while preserving its viewport-rendering behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.