There are two types of component we use in react/react native.
Component is independent and reuseable code just like we use function and call it again and gain when we need it.
Two types of components
1) Functional component 2) Class component
Note First letter of the compoent must be capital as suggest by official doc.
For functional component example visit the like laraveldevdiary
Comments
Post a Comment