0PricingLogin
Helm Academy · Lesson

Preserving the Root Dot Inside range

Using a captured root reference inside loops.

The Dot Can Move

Inside a range loop, the dot stops meaning the chart root and instead points at the current item. That trips up many first-time authors.

Why That Is a Problem

Once the dot is rebound, expressions like .Values or .Release no longer work inside the loop, because the root context is no longer the dot.

All lessons in this course

  1. Assigning Template Variables
  2. Preserving the Root Dot Inside range
  3. nindent vs indent in Practice
  4. Debugging Rendered Whitespace
← Back to Helm Academy