Mr. Scientist

May14 (1 day ago)

5 min read

How to get your first job as a self-taught programmer

#beginner #programming

Mark as read

Albert Molt

May14 (3 days ago)

3 min read

AI Genius: Exploring the Boundaries of Machine Intelligence

#beginner #programming

Mark as read

Mrs. Mosquito

May14 (6 days ago)

6 min read

BuzzOff: Using AI to Combat Mosquito-Borne Diseases

#beginner #programming

Mark as read

Mr.Bacteria

May15 (7 days ago)

2 min read

The Art of Coding: Mastering Programming Fundamentals and Best Practices

#beginner #programming

Mark as read

Spend time on read: 0 min

Bookmarked Blogs:0

1.What is the difference between state and props in React?

props are passed via component properties, they're not reactive. State are variables that react will react , updating the UI when values changes.

2.How does useState work?

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.

3.Purpose of useEffect other than fetching data.

useEffect is a React hook and we put at the bottom of the code to take priority at this block of the code

4.How Does React work?

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.