Closed supminn closed 1 year ago
Name | Link |
---|---|
Latest commit | 0d82c008c87ea88da83eb9e49fa656fbf5541e56 |
Latest deploy log | https://app.netlify.com/sites/react-play-docs/deploys/6424322e4378d40007c18b71 |
Deploy Preview | https://deploy-preview-34--react-play-docs.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site settings.
Thanks for the PR @supminn , we will review it.
Hello @atapas @supminn, One structure I can think of is,
Hello @atapas @supminn, One structure I can think of is,
- What this hook does?
What parameters it accepts
- param1 : param1 is for x thing
- param2: param2 is for y thing
What it will return
- data: data is a list of x thing
- isLoading: is the loading status
- error: error if there is any
- Example
I liked this approach, however, not all the hooks accept parameters. In this case, should I mention the bullet point or ignore them altogether?
Hello @atapas @supminn, One structure I can think of is,
- What this hook does?
What parameters it accepts
- param1 : param1 is for x thing
- param2: param2 is for y thing
What it will return
- data: data is a list of x thing
- isLoading: is the loading status
- error: error if there is any
- Example
I liked this approach, however, not all the hooks accept parameters. In this case, should I mention the bullet point or ignore them altogether?
You can ignore it.
Looks neat.
Hi @atapas @Sachin-chaurasiya I have created an initial version of this documentation. Please review and share your feedback.