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

jsdoc: Add jsdoc for loadData API #204

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

AhmedElbohoty
Copy link
Contributor

What kind of change does this PR introduce?
Docs

Issue related to this PR
173

Copy link

netlify bot commented Sep 9, 2024

Deploy Preview for racingbars ready!

Name Link
🔨 Latest commit 0507ec2
🔍 Latest deploy log https://app.netlify.com/sites/racingbars/deploys/670cf27c187c4b00085191b1
😎 Deploy Preview https://deploy-preview-204--racingbars.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

github-actions bot commented Sep 9, 2024

@AhmedElbohoty
Copy link
Contributor Author

Hello @hatemhosny,

I’ve added JSDoc comments for loadData. Could you please review them and let me know if you have any suggestions or changes? I’d like to keep these in mind as I document the rest of the API.

I think this will help me get a better grasp of the code! 😄

@hatemhosny
Copy link
Owner

That's beautiful, @AhmedElbohoty
please go on 👍

@hatemhosny
Copy link
Owner

you probably want to start with these:
https://github.com/hatemhosny/racing-bars/blob/develop/src/index.ts

@hatemhosny
Copy link
Owner

Also, please remove this, so that comments will end up in the exported types.

@hatemhosny
Copy link
Owner

hatemhosny commented Sep 10, 2024

You can now see your comments in the preview playgrounds above 🎉

image

These comments can significantly improve the developer experience of the library users.
Thank you 💚

@AhmedElbohoty
Copy link
Contributor Author

Hello @hatemhosny,

Sorry for the delay 🙏. I was really busy last month, but I’ll resume documenting the code
.

@hatemhosny
Copy link
Owner

No worries, @AhmedElbohoty
Thank you.

Copy link

sonarcloud bot commented Oct 14, 2024

@hatemhosny
Copy link
Owner

@AhmedElbohoty

Can we please keep this PR for JS Docs only and not add refactors that we have not agreed upon?

P.S. I frequently use early return pattern and I do not currently plan to change it.

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.

2 participants