Articles
Deep dives on .NET, React, cloud and everything in between.
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 · 24 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 · 26 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 · 26 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 · 27 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 · 29 views
React component
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.
27 Sep 2026 · 23 views
ReactJS Project Structure
Components and JSX are two of the most important building blocks of React. Components provide the structure and reuse model, while JSX provides a readable way to describe the UI that a component should render.
27 Sep 2026 · 45 views
Components and JSX
Props and state are fundamental concepts for managing data in React. Props allow a component to receive data from its parent, while state allows a component to manage data that can change over time.
27 Sep 2026 · 45 views