# Pass Only Needed Data to Snippets

Send specific values rather than entire objects when rendering snippets. Reduces serialization overhead.

```liquid
{% comment %} BAD: passes entire product object {% endcomment %}
{% render 'product-price', product: product %}

{% comment %} GOOD: passes only the values the snippet uses {% endcomment %}
{% render 'product-price',
  price: product.price,
  compare_price: product.compare_at_price,
  currency: cart.currency.iso_code
%}
```

This also makes snippets more reusable — they depend on values, not specific object shapes.
