Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
May 24, 2022 09:06 pm GMT

What I've learned about React so far..

This is my first article about development, none the less, I want to share with you guys my experience learning about React so far and some tipocs that call my attention.

First of all. it was my first Javascript framework to learn and it was a little dificult on the begining since i couldn;t understand the component concepts and some usage 3 years ago, specifically it was hard for me to understand the class component concepts.

After that. I started to study about React Hooks and it's easy to understand it. use it and imagine how this pieces of code could help us out to build amaizing pieces of software!

Some of the common React Hooks that i've learned so far:
useState: (Used to handle states as the name says)
UseEffect: (This is a good option to handle side effects into
our components, in other words, if something changes, this
hook can help us out to perform some tasks depending on
what changes.

useContext: This is so usefull to share information between components without following the component path (AKA Prop Drilling)

From my experience.. It could be challenging at the begining but my advice on this could be this. Don't give up... if you got frustrated... take a breath and get back to it later... this can be challenging but one you can understand it... it becomes easy.

Thank you for reading my article... this is my very first try to communicate something to the world.


Original Link: https://dev.to/c3m3z4c4/what-ive-learned-about-react-so-far-d6b

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To