Articles
Deep dives on .NET, React, cloud and everything in between.
Closures, Callbacks & Functions in React
Functions are everywhere in React. Event handlers, callbacks, array operations, effects, custom hooks, and component logic all depend on JavaScript functions.
27 Sep 2026 · 33 views
JavaScript Higher-Order Functions — map, filter, reduce, forEach
Higher-order functions are one of the most important JavaScript concepts for React developers. React code frequently uses functions such as map(), filter(), and reduce() to transform and work with application data.
27 Sep 2026 · 46 views
Rendering List and Keys
React applications frequently need to display collections of data. Examples include products, employees, orders, messages, notifications, and search results. React commonly renders these collections using JavaScript's map() method.
27 Sep 2026 · 28 views
Conditional rendering
Conditional rendering means showing different UI depending on application data. React uses normal JavaScript conditions to decide what should be displayed.
27 Sep 2026 · 25 views
Event Handling and Forms
useCallback and React.memo are performance optimization tools. They are commonly used together when a parent component renders frequently and a child component can avoid unnecessary work when its inputs have not changed.
27 Sep 2026 · 30 views
State in ReactJS
useRef and useMemo solve very different problems. useRef provides a persistent mutable reference whose changes do not normally trigger a render, while useMemo caches the result of a calculation between renders.
27 Sep 2026 · 27 views
Conditional Rendering
Real applications rarely display the same UI all the time. A screen may show a loading message while data is being fetched, an error when a request fails, an empty state when there are no records, or a list when data is available. React uses normal JavaScript expressions and control flow patterns to handle these situations.
27 Sep 2026 · 27 views
ReactJS Props
useState is a React Hook used to add state to a function component. State represents information that can change over time and whose changes may require the component UI to update.
27 Sep 2026 · 28 views
Props and state
React Hooks are functions that let function components use React features such as state, effects, references, context, and other capabilities.
27 Sep 2026 · 30 views