AyoMoses1 / maths-magicians

MIT License
0 stars 1 forks source link

Functional Components #4

Open AyoMoses1 opened 1 year ago

AyoMoses1 commented 1 year ago

How I used functional components in React for this project.

Functional components are just JavaScript functions, which contains some logic to perform certain actions. These components accept the data as props and return the React element which is nothing but HTML content. I decided to use functional components as it is the standard way of creating components in modern react applications.

Steps

Overall, using functional components in React to create a calculator is a powerful technique that allows developers to create reusable UI components. By managing the state of the application using hooks like useState, developers can create complex UIs that respond to user input in real-time.

youmari commented 1 year ago

Project Approved :trophy: :tada: 🟢

Hi @AyoMoses1

Your project is complete! You have done it exceptionally well. it's time to merge it :100: Congratulations! 🎉

To Highlight :+1:

:heavy_check_mark: No linters error. :heavy_check_mark: Details PR title and description. :heavy_check_mark: Good commit messages.

Cheers and Happy coding!👏👏👏

Feel free to leave any questions or comments in the PR thread if something is not 100% clear. Please, remember to tag me in your question so I can receive the notification. You can also connect with me on slack


_As described in the Code reviews limits policy you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.