CodeQuestic / OpenPrep

Comprehensive collection of resources for various programming languages. It includes code samples, best practices, and reference materials to help developers of all levels enhance their skills and knowledge in multiple languages.
https://openprep.pages.dev
MIT License
2 stars 6 forks source link

[Hacktoberfest]: Add content for React - Hooks in React #17

Open rakshixh opened 4 days ago

rakshixh commented 4 days ago

πŸ“ Issue Description

Add the following content for Hooks in React under REACT

  1. Introduction to Hooks: (What are Hooks, Rules of Hooks)
  2. Basic Hooks: [useState (Managing State), useEffect (Handling Side Effects)]
  3. Additional Hooks: [useContext (Context API for Global State), useRef (Referencing DOM Elements), useReducer (State Logic for Complex State), useMemo (Memoization to Avoid Unnecessary Re-renders), useCallback (Memoizing Functions)
  4. Custom Hooks: (Creating Custom Hooks, When and Why to Use Custom Hooks)

File you will be working on: src\content\docs\react\hooks.mdx

🎯 Expected Outcome

The expected outcome is to add a well-documented and informative section under React that covers the following topics:

The content should be written clearly, with examples where necessary, and provide value for developers who are new to hooks or looking to deepen their understanding of React Hooks. Please don't make use of the AIs.

πŸ”§ Solution Guidance (Optional)

πŸ“‹ Steps to Reproduce

πŸ’‘ Additional Context (Optional)

πŸŽƒ Hacktoberfest Participation

βœ”οΈ This issue is tagged for Hacktoberfest. βœ”οΈ PR should reference this issue and adhere to contribution guidelines.

πŸ‘₯ Contributors

If you are working on this issue, please comment below to let us know. Feel free to ask any questions! Don't forget to go through the Code of Conduct and follow the CONTRIBUTING guidelines.


Thank you for contributing to Hacktoberfest and helping improve this project!

Nitheesh-2003 commented 3 hours ago

Hi there,

Can I work on this ?