From c840214aeb9e8bff34db8cb1a337ef2bc8f07785 Mon Sep 17 00:00:00 2001 From: David Khourshid Date: Wed, 21 Oct 2015 08:18:48 -0400 Subject: [PATCH] Updating "JSX Gotchas" docs for Custom Attributes Adds note that custom attributes are supported on custom elements. --- docs/02.3-jsx-gotchas.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/02.3-jsx-gotchas.md b/docs/02.3-jsx-gotchas.md index 6ab5d4ad..10ae6bcf 100644 --- a/docs/02.3-jsx-gotchas.md +++ b/docs/02.3-jsx-gotchas.md @@ -61,6 +61,12 @@ If you pass properties to native HTML elements that do not exist in the HTML spe
``` +However, arbitrary attributes are supported on custom elements (those with a hyphen in the tag name or an `is="..."` attribute). + +```javascript + +``` + [Web Accessibility](http://www.w3.org/WAI/intro/aria) attributes starting with `aria-` will be rendered properly. ```javascript