Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: table of contents for Queries and API pages #980

Merged
merged 2 commits into from
May 27, 2022

Conversation

mdjastrzebski
Copy link
Member

Summary

Adds table of contents for Queries and APIs pages since they are quite long and hence hard to navigate.

Test plan

None


#### `unmount`

```ts
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why remove the API here while keeping it for fireEvent.scroll: (element: ReactTestInstance, ...data: Array<any>) => void for instance?

Copy link
Member Author

Choose a reason for hiding this comment

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

This rerender refers to RenderHookResult type which is kinda its own section. So I've put the whole type definition just above sections for first of it (result). Do you think we should repeat it here?

Copy link
Collaborator

Choose a reason for hiding this comment

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

No you're right, it makes sense!

Copy link
Member

@thymikee thymikee left a comment

Choose a reason for hiding this comment

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

👍🏼

@thymikee thymikee merged commit 4f7dd48 into main May 27, 2022
@thymikee thymikee deleted the docs/toc-for-apis-queries branch May 27, 2022 13:53
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.

None yet

3 participants