-
Notifications
You must be signed in to change notification settings - Fork 53
Description
Hi! Thanks for all the hard work!
My org is unable to pass Props from the React component to the register()
function for reasons (mainly regarding Functional Components and TypeScript, and an ambition to not have to modify the underlying component because we have quite many).
I was wondering, would it be possible to let us call register()
, and let the default behavior of undefined
to the attributes parameter, mean that all attributes set on the Custom Element will be passed down?
My team thought this may be an issue for property assignment somehow, but I'd like to bring this up for discussion since we're at a cross-roads at the moment due to this on what to do (we've even gone as far as made TypeScript AST parsing for our typescript-related props type
declarations)