prepareForRender method

void prepareForRender()

Reset hook state for next render

Implementation

void prepareForRender() {
  _hookIndex = 0;
}