Skip to content

Documentation / @finchart/react / PlotHandleRef

Interface: PlotHandleRef

Defined in: components/chart-container.tsx:30

무대를 담아 둘 자리 — 쓰기 가능한 current 하나가 전부다.

React의 ref 타입을 안 쓴다. RefObject<T>의 뜻이 버전마다 다르다 — React 19는 { current: T }(쓰기 가능), 18은 { readonly current: T | null }. 구조로 적으면 그 차이가 사라진다: useRef<Plot | null>(null)이 18에서 돌려주는 MutableRefObject도, 19의 RefObject도 이 형태를 만족한다.

Properties

current

current: Plot | null

Defined in: components/chart-container.tsx:31