A private assign for component

@chrismccord

Hi Chris,

Is there a way to pass a private assign to a LV component, one that would not be subject to LV diffing for the component elements need to get re-rendered only if some of its other “normal” assigns change.

Thanks,

Damir

assigns that don’t appear in the template will produce an empty diff

3 Likes

I see. I think you just clarified to me one other thing. Those “empty diffs”, do they still get sent to the client and are present in the JSON object shown when debugging is turned on?

If so, this probably means I could optimize the data sent if I ensured only the rendered data is passed as assigns, right?

Thanks