React Native لا يتضمن التنقل المدمج — الحل القياسي هو React Navigation (مكتبة شهيرة) للتنقل بين الشاشات. توفر الملاحة (stack, tabs, drawer) وتتعامل مع حالة التنقل والسجل والانتقالات.
React Navigation — المكتبة القياسية
Navigation isn't built into React Native → use REACT NAVIGATION (the de facto standard):
→ provides NAVIGATORS that structure how users move between screens:
STACK navigator → push/pop screens (like a stack — forward/back, the most common)
TAB navigator → bottom/top tabs (switch between sections)
DRAWER navigator → a side drawer menu
→ handles navigation state, history (back stack), transitions, headers
مثال على التنقل بالمكدس
= ();
() {
(
);
}
() {
;
}
