DEV Community

Tymur Levtsun
Tymur Levtsun

Posted on

Hacktoberfest Part 1: Made useless stuff

Overview

The first repository that I worked on was a react-useless which is a collection of different useless react hooks and pretty must just a joke repository.

Issue

The issue was to create hook useForigner, which had the following description:

Receives text input and returns TTS URL then read it.

Seems useful right? So make it more useless.

Detect and make it read as another language randomly by changing lang= query param
Enter fullscreen mode Exit fullscreen mode

To be honest it seems kind of funny to work on this kind of issue.

Implementation

The implementation involved two steps:
1 - Implement the hook itself
2 - Add it to the list of hooks and make it usable with different values
It took me some time to understand how things worked in this repo and I had a good amount of experience working with react and react hooks so it wasn't difficult for me to make it work. When I was done I created the PR and it got accepted without problems.

Conclusion

The overall task wasn't difficult to implement and the maintainer was rapid in terms of communication. I found it funny to contribute to contribute to this kind of non-sense :)

Top comments (0)