Function
convertRender
(
el: HTMLDivElement | HTMLHeadingElement,
Component: SolidPluginRender,
props: TanStackDevtoolsPluginProps,
)
Source from the content-addressed store, hash-verified
| 23 | if (isSolid2) { |
| 24 | ;(Solid.createEffect as any)(compute, apply) |
| 25 | } else { |
| 26 | ;(Solid.createEffect as any)(() => { |
| 27 | const value = compute() |
| 28 | Solid.untrack(() => apply(value)) |
| 29 | }) |
| 30 | } |
| 31 | } |
| 32 | |
| 33 | /** |
| 34 | * Puts `values` into `el` in order. Nodes that are already in place stay |
| 35 | * attached, so an input that is not replaced keeps its focus. Only nodes that |
| 36 | * this function put in `el` are removed. |
Tested by
no test coverage detected