Second PR for Hacktoberfest
Picking the Issue
The first issue I was working on is that reduce the size of an ASCII logo of onefetch repository. Even I download Rust for testing my logo, it still not much related to programming. Therefore, this time I decided to find an issue that at least do something programming stuff. I spent a while for finding the second issue, and I find this interesting repo issue-collab. This is a React web-app that does similar functionality as Github search with better-looking UI.
There was an issue-57 posted from one of their contributors, and he thinks it would be a good idea to show the number of comments in issues. The owner of the repo agreed that and opened this to anyone. He also kindly give some advice on how to add the numbers of comments.
getIssues()
in App.tsx returns this data already. I console.log() the result returned by getIssues() function, and it turned out that it includes data of comments too.
Comments
Post a Comment