React cell-renderer helper — walking-skeleton first cut (ticket agd-01ky0ed8adbf). Optional namespace: only consumers who require it need react/react-dom on their npm classpath; the core stays framework-agnostic.
Mounts a local React root per cell (createRoot in init, unmount in destroy). renders go through flushSync so the cell has content synchronously when AG Grid attaches it — createRoot renders are async by default and would flash empty cells.
React cell-renderer helper — walking-skeleton first cut (ticket agd-01ky0ed8adbf). Optional namespace: only consumers who require it need react/react-dom on their npm classpath; the core stays framework-agnostic. Mounts a local React root per cell (createRoot in init, unmount in destroy). renders go through flushSync so the cell has content synchronously when AG Grid attaches it — createRoot renders are async by default and would flash empty cells.
(react-renderer render-fn)(fn [params-bean] react-element) -> cellRenderer class (raw). refresh re-renders into the same root (returns true), so React component local state survives value refreshes.
(fn [params-bean] react-element) -> cellRenderer class (raw). refresh re-renders into the same root (returns true), so React component local state survives value refreshes.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |