Skip to content

Update hooks to accepts Props as arguments which work better with renderHook()#106499

Closed
ryan953 wants to merge 10 commits intomasterfrom
ryan953/hooks-props-args
Closed

Update hooks to accepts Props as arguments which work better with renderHook()#106499
ryan953 wants to merge 10 commits intomasterfrom
ryan953/hooks-props-args

Conversation

@ryan953
Copy link
Copy Markdown
Member

@ryan953 ryan953 commented Jan 18, 2026

This is only updating hooks that are already tested, as discovered by #106492

Some other hooks, and even useFetchEventsTimeSeries which is in here, are not changed.

Related to https://github.com/getsentry/frontend-tsc/issues/97

@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Jan 18, 2026
@ryan953 ryan953 changed the title Update hooks to accepts Props as arguments to work better with renderHook() Update hooks to accepts Props as arguments which work better with renderHook() Jan 18, 2026
@ryan953 ryan953 marked this pull request as ready for review January 20, 2026 17:04
@ryan953 ryan953 requested review from a team as code owners January 20, 2026 17:04
@ryan953 ryan953 marked this pull request as draft January 20, 2026 18:53
@ryan953 ryan953 closed this Jan 20, 2026
@github-actions github-actions bot locked and limited conversation to collaborators Feb 5, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant