Ana içeriğe geç

"hooks" ile etiketlenmiş 20 doküman etiketlendi

Tüm Etiketleri Görüntüle

experimental_useEffectEvent

This document discusses the experimental useEffectEvent API in React, highlighting its usage and experimental nature. It provides installation instructions for the experimental packages and usage examples.

Kural Hooks

Bu sayfada React Hooks ile ilgili kurallara ve yaygın hatalara dair bilgilere ulaşabilirsiniz. React ve React DOMun eşleşmeyen sürümleri, çift React gibi sorunlar hakkında da bilgiler içerir.

Reactte Yerleşik APIler

Bu sayfa, Reactin modern APIlerini tanıtmaktadır. Birçok faydalı fonksiyon ve yöntem hakkında genel bilgiler içerir.

useActionState

The useActionState hook allows you to update the state based on the outcome of a form action in React applications.

useCallback

Learn how to optimize performance in React components using the useCallback Hook. This guide explains its functionality, parameters, and common use cases.

useContext

useContext is a React Hook for reading and subscribing to context from a component. This guide explains its usage, parameters, and return values.

useDebugValue

useDebugValue is a React Hook that allows you to add a label to your custom hooks, making debugging easier in React DevTools.

useDeferredValue

Discover how the useDeferredValue hook helps in deferring UI updates in React to improve performance and user experience.

useEffect

The useEffect Hook allows you to synchronize a component with an external system. This page covers the usage and best practices for useEffect in React.

useFormStatus

The useFormStatus hook provides status information regarding the most recent form submission in React applications. This documentation covers its functionality and usage examples.

useId

The useId hook in React generates unique IDs that can be passed to accessibility attributes. This guide explains its usage, benefits, and important considerations.

useImperativeHandle

useImperativeHandle is a React Hook that allows you to customize the handle displayed as a ref. This guide provides clear examples and usage scenarios to enhance your understanding.

useInsertionEffect

The useInsertionEffect hook allows styles to be injected before any layout effects are triggered, making it essential for CSS-in-JS library authors. This documentation explains its usage, parameters, and caveats.

useLayoutEffect

useLayoutEffect is a hook that runs synchronously after all DOM mutations. Its useful for measuring layout before the browser repaints.

useMemo

useMemo is a React Hook that allows caching a calculations result between renders. Learn how to effectively use it to optimize your components.

useRef

Use the useRef hook in React to maintain a mutable reference that does not trigger re-renders. This guide covers usage, caveats, practical examples, and pitfalls.

useState

The useState hook in React allows you to add state variables to your components. Learn how to define state variables and update them effectively.

useSyncExternalStore

useSyncExternalStore allows you to subscribe to an external store in React components, ensuring proper state management. This guide will explain its usage, parameters, and additional considerations.

useTransition

The useTransition React Hook allows you to update the state without blocking the UI. Learn how to use it effectively to ensure a responsive user interface during updates.

Yerleşik React Kancaları

Bu belge, Reactteki tüm yerleşik kancaların listesini sunarak bu güçlü özelliklerin nasıl kullanılacağını açıklamaktadır.