Support Ukraine 🇺🇦
🇺🇦
Help Provide Humanitarian Aid to Ukraine.
React
Öğren
Referans
Topluluk
Blog

    react@18.2.0

  • Genel Bakış
  • Hook'lar
    • use - This feature is available in the latest Canary
    • useCallback
    • useContext
    • useDebugValue
    • useDeferredValue
    • useEffect
    • useId
    • useImperativeHandle
    • useInsertionEffect
    • useLayoutEffect
    • useMemo
    • useOptimistic - This feature is available in the latest Canary
    • useReducer
    • useRef
    • useState
    • useSyncExternalStore
    • useTransition
  • Bileşenler
    • <Fragment> (<>)
    • <Profiler>
    • <StrictMode>
    • <Suspense>
  • API'lar
    • cache - This feature is available in the latest Canary
    • createContext
    • forwardRef
    • lazy
    • memo
    • startTransition
    • experimental_taintObjectReference - This feature is available in the latest Canary
    • experimental_taintUniqueValue - This feature is available in the latest Canary
  • Direktifler - This feature is available in the latest Canary
    • 'use client' - This feature is available in the latest Canary
    • 'use server' - This feature is available in the latest Canary
  • react-dom@18.2.0

  • Hook'lar
    • useFormState - This feature is available in the latest Canary
    • useFormStatus - This feature is available in the latest Canary
  • Bileşenler
    • Ortak (örn. <div>)
    • <form> - This feature is available in the latest Canary
    • <input>
    • <option>
    • <progress>
    • <select>
    • <textarea>
  • APIs
    • createPortal
    • flushSync
    • findDOMNode
    • hydrate
    • render
    • unmountComponentAtNode
  • Client APIs
    • createRoot
    • hydrateRoot
  • Server APIs
    • renderToNodeStream
    • renderToPipeableStream
    • renderToReadableStream
    • renderToStaticMarkup
    • renderToStaticNodeStream
    • renderToString
  • Eski API'ları

  • Eski React API'ları
    • Children
    • cloneElement
    • Component
    • createElement
    • createFactory
    • createRef
    • isValidElement
    • PureComponent

Is this page useful?

API Referansı

Directives - This feature is available in the latest Canary

Canary

These directives are needed only if you’re using React Server Components or building a library compatible with them.

Directives provide instructions to bundlers compatible with React Server Components.


Source code directives

  • 'use client' lets you mark what code runs on the client.
  • 'use server' marks server-side functions that can be called from client-side code.
Previousexperimental_taintUniqueValue
Next'use client'

How do you like these docs?

Take our survey!

©2024
React Öğrenin
Quick Start
Installation
Kullanıcı Arayüzünü Tanımlama
Etkileşim Ekleme
State'i Yönetmek
Kaçış Yolları
API Referansı
React APIs
React DOM APIs
Topluluk
Davranış Kuralları
Takımla Tanışın
Dokümantasyona Katkıda Bulunanlar
Katkıda Bulunanlar
Daha Fazlası
Blog
React Native
Gizliik
Şartlar

Bu sayfada

  • Genel Bakış
  • Source code directives