Skip to content

Dev - #6

Merged
k1tbyte merged 10 commits into
masterfrom
dev
Oct 7, 2025
Merged

Dev#6
k1tbyte merged 10 commits into
masterfrom
dev

Conversation

@k1tbyte

@k1tbyte k1tbyte commented Oct 7, 2025

Copy link
Copy Markdown
Owner

No description provided.

k1tbyte and others added 10 commits December 15, 2024 23:42
fixed virtual scroller with proxy, fixed refresh, added useProxyFilter (beta)
…pup. Reworked the architecture of component states and added useControlledState, statefulComponent HOC. Big project structure review. Added documentation with examples for the reworked code.
added more accessibility to the account card through tooltips,
fixed tooltip
@k1tbyte
k1tbyte merged commit 42d1fe8 into master Oct 7, 2025
1 of 2 checks passed

const renderIndex = Math.max(getRenderIndex(), 0);
const endIndex = Math.min(getEndIndex(visibleRows), this.source.length);
let limitCount = Math.max(endIndex - renderIndex, this.source.length ? 1 : 0);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'limitCount' is never reassigned. Use 'const' instead.

Suggested change
let limitCount = Math.max(endIndex - renderIndex, this.source.length ? 1 : 0);
const limitCount = Math.max(endIndex - renderIndex, this.source.length ? 1 : 0);

}, 30)
});

let scrollElement: HTMLElement = scroller ? getScrollElement(scroller, onRender) : scrollRef.current!;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'scrollElement' is never reassigned. Use 'const' instead.

Suggested change
let scrollElement: HTMLElement = scroller ? getScrollElement(scroller, onRender) : scrollRef.current!;
const scrollElement: HTMLElement = scroller ? getScrollElement(scroller, onRender) : scrollRef.current!;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant