Props और state मुख्य React concepts हैं जो React Native में समान रूप से काम करते हैं: props एक component में data पास करते हैं (read-only inputs), जबकि state उस data को रखता है जो समय के साथ बदल सकता है (re-renders को trigger करता है)। इन्हें समझना मूलभूत है।
Props — पास किया गया data (read-only)
() {
;
}
< name= age={} />
