Tuesday, May 13, 2025

BIS601 FSD - Some Terms associated with ReactJS

 Some terms associated with React


Term

Meaning / Importance

JSX

JavaScript XML – Syntax extension that looks like HTML but compiles to React.createElement() calls.

Component

Reusable building block of UI – can be functional or class-based.

Props

Short for "properties" – inputs to components passed from parent to child. Read-only.

State

Internal data storage in a component. Controls behavior and re-rendering.

Hooks

Functions like useState, useEffect etc., that let you use state and lifecycle features in functional components.

Virtual DOM

In-memory representation of the real DOM. Used by React for efficient UI updates.

Rendering

The process of generating DOM from React components. Can be initial, conditional, or re-rendered.

useEffect

A hook used to handle side effects like API calls, timers, or event listeners.

Lifting State Up

Moving state from a child to a common parent to share data between components.

Controlled Component

A form input whose value is controlled by React state.

No comments:

Post a Comment