-
Given that solid-js has partially synthetic events, it possible to use web component ui libraries in solid-js directly, or do they require a wrapper like React does? |
Beta Was this translation helpful? Give feedback.
Answered by
ryansolid
Jul 12, 2021
Replies: 1 comment 2 replies
-
It should be fine. I already handle event retargetting. I also have some conventions. Although you write attributes on web component JSX like attributes it automatically maps to camelCase props by default and passes rich values. If you want to use the attribute form explicitly or set using a specific prop use the |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
daron81
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It should be fine. I already handle event retargetting. I also have some conventions. Although you write attributes on web component JSX like attributes it automatically maps to camelCase props by default and passes rich values. If you want to use the attribute form explicitly or set using a specific prop use the
attr:
andprop:
namespace prefixes to have them process.