From 497ba9bf042199e23af71b467405dfbfcd5d6c68 Mon Sep 17 00:00:00 2001 From: Dan Armour Date: Mon, 18 Oct 2021 13:23:07 +0100 Subject: [PATCH] Updated docs#bind_component Removed note about an error that no longer exists and removed boilerplate code from an example --- site/content/docs/02-template-syntax.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/site/content/docs/02-template-syntax.md b/site/content/docs/02-template-syntax.md index 1053748e1b..6184651a0c 100644 --- a/site/content/docs/02-template-syntax.md +++ b/site/content/docs/02-template-syntax.md @@ -1348,12 +1348,10 @@ bind:this={component_instance} Components also support `bind:this`, allowing you to interact with component instances programmatically. -> Note that we can't do `{cart.empty}` since `cart` is `undefined` when the button is first rendered and throws an error. - ```sv - ```