From f8a328d6a553fff6e60087b2236d54c7177088fc Mon Sep 17 00:00:00 2001 From: Ville Immonen Date: Wed, 9 Nov 2016 18:38:36 +0200 Subject: [PATCH] Remove string ref from function component example (#8244) Refs can't be attached to stateless functional components. --- docs/web-components.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/web-components.md b/docs/web-components.md index c2efaf36..aae501da 100644 --- a/docs/web-components.md +++ b/docs/web-components.md @@ -31,7 +31,7 @@ One common confusion is that Web Components use "class" instead of "className". ```javascript function BrickFlipbox() { return ( - +
front
back