Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add warning about use directive on custom components #952

Merged
merged 23 commits into from
Dec 3, 2024
Merged
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
f1f9cf2
add warning about use directive on custom components
tennox Nov 13, 2024
29b0fee
Merge branch 'main' into patch-1
kodiakhq[bot] Nov 20, 2024
5dca93c
Merge branch 'main' into patch-1
kodiakhq[bot] Nov 21, 2024
c54434c
Merge branch 'main' into patch-1
kodiakhq[bot] Nov 23, 2024
0049bb6
Merge branch 'main' into patch-1
kodiakhq[bot] Nov 24, 2024
f3dd474
Merge branch 'main' into patch-1
kodiakhq[bot] Nov 24, 2024
376fbf6
Merge branch 'main' into patch-1
kodiakhq[bot] Nov 24, 2024
dbf16cc
Merge branch 'main' into patch-1
kodiakhq[bot] Nov 24, 2024
50ba9dc
Merge branch 'main' into patch-1
kodiakhq[bot] Nov 24, 2024
592fa33
Merge branch 'main' into patch-1
kodiakhq[bot] Nov 25, 2024
f9bb84e
Merge branch 'main' into patch-1
kodiakhq[bot] Nov 25, 2024
9244e43
Merge branch 'main' into patch-1
kodiakhq[bot] Nov 26, 2024
b76d519
Merge branch 'main' into patch-1
kodiakhq[bot] Nov 26, 2024
e261174
Merge branch 'main' into patch-1
kodiakhq[bot] Dec 1, 2024
1f85eec
Merge branch 'main' into patch-1
kodiakhq[bot] Dec 1, 2024
8615f1d
Merge branch 'main' into patch-1
kodiakhq[bot] Dec 1, 2024
715a721
Merge branch 'main' into patch-1
kodiakhq[bot] Dec 1, 2024
bb4a139
Merge branch 'main' into patch-1
kodiakhq[bot] Dec 1, 2024
0f9ef6f
Merge branch 'main' into patch-1
kodiakhq[bot] Dec 3, 2024
c27e857
Merge branch 'main' into patch-1
kodiakhq[bot] Dec 3, 2024
aafbd07
Merge branch 'main' into patch-1
kodiakhq[bot] Dec 3, 2024
d9d2ae6
change wording of custom components warning
tennox Dec 3, 2024
a839fe5
change title to Limitations
tennox Dec 3, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/routes/reference/jsx-attributes/use.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,8 @@ declare module "solid-js" {
}
}
```

<Callout type="caution" title="Limitations">
Directives only work with native HTML elements (HTML/SVG/MathML/Custom Elements).
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)
</Callout>
Loading