From bda773c9635d7ee0268a5544a7588542ba2e33f4 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. (cherry picked from commit 3668a2e678e6d87b63300aa779481b25105f2092) --- docs/docs/web-components.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/web-components.md b/docs/docs/web-components.md index c2efaf3608..aae501da8d 100644 --- a/docs/docs/web-components.md +++ b/docs/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