What are your thoughts? I’m new to WC so correct me for any misunderstanding but I try to use as much “built-in” HTML as possible & then utilise slots for layout ctrl & enhancing. I lose some of the styling ctrl but I benefit from my normal CSS.
Thanks.
What are your thoughts? I’m new to WC so correct me for any misunderstanding but I try to use as much “built-in” HTML as possible & then utilise slots for layout ctrl & enhancing. I lose some of the styling ctrl but I benefit from my normal CSS.
Thanks.
I’m looking forward to cross-root refs being addressed. Will make things feel more natural.
I’m looking forward to cross-root refs being addressed. Will make things feel more natural.
Looks at the host elem, generate an id ref, create input, assoc label and input with id. Append to host light dom which is reflected into slot.
Looks at the host elem, generate an id ref, create input, assoc label and input with id. Append to host light dom which is reflected into slot.
I then get the benefit of light DOM and then it is reflected into the slots.
But...
I then get the benefit of light DOM and then it is reflected into the slots.
But...
Have a <form-group> component with some slots (label, helper text, tooltip, input (default), validation). Get some enhancement + templating.
Have a <input-stepper> go in the default slot. Done. Keeps the <input-stepper> internals specific.
Have a <form-group> component with some slots (label, helper text, tooltip, input (default), validation). Get some enhancement + templating.
Have a <input-stepper> go in the default slot. Done. Keeps the <input-stepper> internals specific.
This character count is gonna be painful haha, hopefully screenshots can fill in any blanks.
This character count is gonna be painful haha, hopefully screenshots can fill in any blanks.
It is a cool "all JS" approach. Could you elaborate on the plague?
For the styling, you are using the <style> over the adoptedStyleSheets. My understanding was from a memory perspective, if you are reusing a component X amount of times, it means less duplicate <style> in the DOM? Thanks
It is a cool "all JS" approach. Could you elaborate on the plague?
For the styling, you are using the <style> over the adoptedStyleSheets. My understanding was from a memory perspective, if you are reusing a component X amount of times, it means less duplicate <style> in the DOM? Thanks
but the moment they start asking for verification, i'm out
but the moment they start asking for verification, i'm out