Skip to content

Commit bf264a4

Browse files
Merge branch 'main' into request-event-locals
2 parents ddb2a9c + 3aea5a0 commit bf264a4

File tree

1 file changed

+5
-0
lines changed
  • src/routes/reference/jsx-attributes

1 file changed

+5
-0
lines changed

src/routes/reference/jsx-attributes/use.mdx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,8 @@ declare module "solid-js" {
3434
}
3535
}
3636
```
37+
38+
<Callout type="caution" title="Limitations">
39+
Directives only work with native HTML elements (HTML/SVG/MathML/Custom Elements).
40+
Directives are not forwarded and **won't work in user defined components**, such as `<MyComponent use:myinput={[..]}/>` [see also](https://github.com/solidjs/solid/discussions/722)
41+
</Callout>

0 commit comments

Comments
 (0)