FrontEndifrontendi.hashnode.dev·Sep 16, 2023همه چیز در مورد Fragment در React !زمانیکه نسخه 16.2.0 ری اکت منتشر شد ، یک ویژگی جدید به اون اضافه شد به اسم React Fragment ! داستان انتشار Fragment در ری اکت، مثل داستان Strict Mode داستان یک مشکل بود که React Developer ها با اون درگیر بودن . در حقیقت Fragment در ری اکت یکی از اون م...DiscussReact
Divine Edwincheehdevworkshop.hashnode.dev·Jun 14, 2023Understanding the Potential of React FragmentsIntroduction React fragment is a fascinating topic in React; most beginners utilize it without even knowing what it is about, and some tutorials are kind enough to provide a video to fully explain it and give reasons for it, as well as benefits assoc...Discuss·1 likeReact
William Raiwilliamrai.hashnode.dev·May 16, 2023Difference between requireActivity() and requireContext()The requireActivity() and requireContext() methods are both utility methods provided by the AndroidX Fragment library that obtain references to the associated Activity and Context objects respectively within a Fragment. RequireActivity() This method ...Discuss·315 readsAndroid
Yashodeep Nimbekaryashodeep.hashnode.dev·Apr 18, 2023Using React Fragments for Cleaner CodeIn React, when we render multiple JSX elements in a component, we basically wrap them inside a parent element. However, this approach creates unnecessary DOM nodes. To address this issue React library exports React fragments. It allows us to group to...Discuss·2 likes·42 readsReact
Dhawal Pandyadhawalpandya01.hashnode.dev·Jan 11, 2023A fragment on React.FragmentA "Fragment" is a part of a whole, in the context of coding, fragmenting is breaking, or rather compartmentalizing pieces of code that must not interfere with each other, but still are a part of the same whole. In React, a fragment is a way to group ...Discuss·48 readsfragment
Arthur Okolodeathg0d.hashnode.dev·Jan 11, 2023Can't Access Fragment ViewsWhen the observer is still active on the parent's view, the Can't access Fragment Views error occurs. Even if the view is deleted, LifecycleOwner remains ( Navigating to the next Fragment) Came Across this error while trying to observe live data thro...Discuss·34 readsAndroid