InLearn ReactbyYe Min Ko·2d agoUsing useEffectEvent() in ReactuseEffectEvent() is a React hook that allows you to create event handlers that can safely access the latest state and props.
InLearn ReactbyYe Min Ko·Nov 11Using useRef() to Reduce useEffect() DependenciesuseRef() hook can be a valuable tool to reduce the dependencies of useEffect() and improve performance.
InLearn ReactbyYe Min Ko·Oct 7Resetting React Components with the key PropUsing the key prop is a simple and effective way to reset a React component’s state when necessary.
InLearn ReactbyYe Min Ko·Sep 18Using Context in ReactReact Context is useful for sharing data between components without having to pass props down manually at every level.
Ye Min Ko·Sep 4Is It Better to Live Alone or With Other People?Whether you live alone or with other people, each lifestyle has its own pros and cons.
InLearn ReactbyYe Min Ko·Aug 31Using Reducer in ReactReducer is a powerful tool for managing state in React applications.
InLearn ReactbyYe Min Ko·Aug 14Using memo in React to Optimize PerformanceWhen parent component re-renders, all of its child components will also re-render. This can lead to performance issues.
InLearn ReactbyYe Min Ko·Aug 5useCallback() in ReactuseCallback() is a useful React hook that memoizes a function so it isn’t recreated on every render.
InLearn ReactbyYe Min Ko·Jul 28Using useEffect() in ReactIn React, useEffect() is a hook that allows you to perform side effects in components.
InLearn ReactbyYe Min Ko·Jun 23Using Portal in ReactReact Portal lets you render a component outside its parent hierarchy while keeping it connected to the React tree.