(text string, comp **ComponentImpl)
| 315 | } |
| 316 | |
| 317 | func (r *RootElem) renderText(text string, comp **ComponentImpl) { |
| 318 | if (*comp).Text != text { |
| 319 | (*comp).Text = text |
| 320 | } |
| 321 | } |
| 322 | |
| 323 | func (r *RootElem) renderChildren(elems []VDomElem, curChildren []*ComponentImpl) []*ComponentImpl { |
| 324 | newChildren := make([]*ComponentImpl, len(elems)) |