(root *RootElem, comp *ComponentImpl, opts *RenderOpts)
| 28 | } |
| 29 | |
| 30 | func makeContextVal(root *RootElem, comp *ComponentImpl, opts *RenderOpts) *RenderContextImpl { |
| 31 | return &RenderContextImpl{ |
| 32 | Root: root, |
| 33 | Comp: comp, |
| 34 | HookIdx: 0, |
| 35 | RenderOpts: opts, |
| 36 | UsedAtoms: make(map[string]bool), |
| 37 | } |
| 38 | } |
| 39 | |
| 40 | func (vc *RenderContextImpl) GetCompWaveId() string { |
| 41 | if vc.Comp == nil { |