-
-
Notifications
You must be signed in to change notification settings - Fork 935
Description
Contributor Guidelines
- I have read the guidelines and discussion
Is your feature request related to a problem? Please describe.
This is not related to a problem but is intended to add a fun and educational feature.
It will help new learners understand how to handle state and randomization in React.
Describe the solution you'd like.
Create a new play component under src/plays/random-quote-generator/
that shows a random quote from a list or an external API.
The component will have a button labeled “New Quote” that updates the displayed quote dynamically.
Describe alternatives you've considered.
Instead of static quotes, we could extend it later to fetch quotes from an API like type.fit or quotable.io.
However, for simplicity, the first version will use a local array of quotes.
Screenshot / Screenshare
No response
Additional context
I have already explored the ReactPlay project and its play structure.
I plan to follow the existing component format, styling conventions (TailwindCSS), and commit message rules.
This feature aligns with ReactPlay's goal of providing small, educational React examples.
Record
- I have checked the existing issues
- I have read the Contributing Guidelines
- I want to work on this issue
- I am a Hacktoberfest contributor
Code of Conduct
- I agree to follow this project's Code of Conduct