Mr. Scientist
May14 (1 day ago)
5 min read
Mark as read
Albert Molt
May14 (3 days ago)
3 min read
Mark as read
Mrs. Mosquito
May14 (6 days ago)
6 min read
Mark as read
Mr.Bacteria
May15 (7 days ago)
2 min read
Mark as read
props are passed via component properties, they're not reactive. State are variables that react will react , updating the UI when values changes.
The useState hook is a special function that takes the initial state as an argument and returns an array of two entries. UseState encapsulate only singular value from the state, for multiple state need to have useState calls.
useEffect is a React hook and we put at the bottom of the code to take priority at this block of the code
React Native is an open-source JavaScript framework built on the React library. Developers use it to create cross-platform React apps for iOS and Android.