Skip to main content

15 docs tagged with "Props"

View All Tags

children

children is defined as: special placeholder props to nest JSX. Topics on: access via this.props.children. Read more: React, React Concepts, Component Based Arch

element

element is defined as: <Route> props to attach JSX. Topics on: . Read more: React, React Stack, React Router Dom, React Router API, React Router FC, Routes, Rou

fallback

fallback is defined as: props to set JSX placeholder for Suspense Boundary when Lazy Loading. Topics on: . Read more: React, React API, Suspense API, Suspense,

FC

FC is defined as: function to return UI via JSX. Pass propsfor dynamic input. add state via Hook. Topics on: since React 16.8 FC with Hooks are more powerful th

key

key is defined as: special props as string UID for VDOM to track/Diffing list elements. Topics on: Math.random() key are unstable & may hurt perf!, key should b

Prop Drilling

Prop Drilling is defined as: to pass props through deep Component Hierarchy Spaghetti Code. Topics on: . Read more: JS, JS Concepts, Multi Paradigm, Paradigm, S

props

props is defined as: frozen Object of properties; passed as dynamic input from Parent Component to children. Topics on: props are immutable within Component via

props

props. Topics on: Editor, Diff Editor - for comparing diff between 2 files, Controlled Editor - controlled component !deprecated?. Read more: React, React Stack

Pure Component

Pure Component is defined as: stateless Component that always renders same based on same props input.. Topics on: No state to store changes = No Side Effect. Re

React DevTools

React DevTools is defined as: Browser Plugin to inspect React App (dev build only!) to view Component Hierarchy, props & state. Topics on: Element Selector Tool

Render Props

Render Props is defined as: Providing function as props to render JSX. Topics on: FC can just pass full FC as props instead of Render Props - to simply/optimize

this.props

this.props is defined as: frozen object for accessing properties inside a Component. Topics on: this.props is immutable by using Object.freeze(). Read more: Rea

unoptimized

unoptimized is defined as: props to set <Image> to serve unoptimized Image Element (for compat with storybook). Topics on: . Read more: React, React Stack, Next

useMemo()

useMemo() is defined as: Memoizing Hook to Memoization entire Component, some JSX or props, based on Deps Array change. Topics on: Memoization of Component, Mem

usePrevious()

usePrevious() is defined as: Custom Hook to get previous value of props or state. Topics on: . Read more: React, React API, Hooks API, Custom Hook, Use Previous