고라니드로koranidro.hashnode.dev·Sep 7, 2024[React] 당신은 상태를 필요로 하지 않을 것입니다. #4 - 부작용 편💡 이 포스트는 React 버전 18.3.1을 기준으로 합니다. 총 세 편에 걸쳐 기본적인 파생 상태부터 비동기적인 파생 상태를 관리하는 법까지 알아보았습니다. 이를 활용하면 많은 상황에서 직접 동기화를 수행하지 않고도 안전한 코드를 작성할 수 있습니다. 또 React의 사용성이 점차 개선됨에 따라 더 많은 사례에 이러한 방법을 적용할 수 있을 것으로 보입니다. 그럼에도 개선 여부가 확실치 않은 것이 있습니다. 정리가 필요한 부작용 fun...Discuss[React] 당신은 상태를 필요로 하지 않을 것입니다.React
Armaancode-better.hashnode.dev·Aug 9, 2024#001 | Don't use Smartphone before sleeping😴Here's why ?Using a smartphone before sleeping can significantly disrupt both our sleep cycle and the quality of our mornings. The blue light emitted from screens interferes with the production of melatonin, the hormone responsible for regulating sleep-wake cycl...Discuss·27 readsovercome
Gurjot SinghforThe Dev Folksthedevfolks.com·May 18, 2023Mastering React Hooks: Side EffectsIn React, side effects are any actions that are performed outside of rendering a component, such as fetching data or updating the document title. React provides two main hooks for managing side effects: useEffect and useLayoutEffect. useEffect The us...DiscussMastering React HooksReactHooks
Mohamed Abdellahi Haibeltymohamedabdellahihaibelty.hashnode.dev·May 14, 2023React.useEffect(): The Ultimate Guide to Managing Side Effects in Functional ComponentsAre you a React developer struggling to wrap your head around the useEffect hook? You're not alone! Despite its popularity, this hook can be tricky to use correctly and efficiently. But fear not! In this post, we'll dive deep into the useEffect hook ...Discuss·1 like·63 readsReact
Vinay Kushwahaiamvinayvk.hashnode.dev·Feb 3, 2023What are Pure functions?While working on the projects we always get to hear the term Pure functions, but what are Pure functions and why should we use Pure Functions? Let's find out. Pure Functions are functions that have the following characteristics- Pure functions alway...DiscussFunctional Programming
Ali Eren Şenappcircle.hashnode.dev·Oct 7, 2022Jetpack Compose Side Effects – With ExamplesRecompositions and states are the main parts of Jetpack Compose. Here’s how to manage states without getting affected by recompositions. We’ll use Jetpack Compose Side Effects API’s and inspect each method one by one. Why manage states outside compos...Discuss·5 likes·64 readsAndroid