Excellent video. Dom, i found just having a "tmp.css" file open and writing the css in it, then pasting it in the component, "const css " variable. This way you get the benefit of syntax highlighting while creating.
excellent video. You speak clearly and concisely. 0:48 the innerHTML = "" is there to reset previous calls I guess. I've never created web comps but I imagine it to be difficult to update a single cell without recreating the whole table. I mean, I can't leverage change detecion of Web Frameworks here. That would defeat the purpose of web comps I guess. Is there a way to share JS, like some diffing helpers? Can I simply import JS like usually? Or does the code get duplicated in each web comp (inline)? Imagine using foo() in 10x web comps
Thanks Dom! Great info as always. I’m really enjoying this web components series. Wish I would have watched this BEFORE attempting to learn Angular. Things would have made way more sense.
The hint with the variable-injection into the Component is pretty cool. Thanks..
Thank you brother! You save my life from stupid GTP
Excellent video. Dom, i found just having a "tmp.css" file open and writing the css in it, then pasting it in the component, "const css " variable. This way you get the benefit of syntax highlighting while creating.
excellent video. You speak clearly and concisely.
0:48 the innerHTML = "" is there to reset previous calls I guess. I've never created web comps but I imagine it to be difficult to update a single cell without recreating the whole table.
I mean, I can't leverage change detecion of Web Frameworks here. That would defeat the purpose of web comps I guess. Is there a way to share JS, like some diffing helpers? Can I simply import JS like usually? Or does the code get duplicated in each web comp (inline)? Imagine using foo() in 10x web comps
Thanks Dom! Great info as always. I’m really enjoying this web components series. Wish I would have watched this BEFORE attempting to learn Angular. Things would have made way more sense.
Good tut. I guess the vs-code extension: 'Inline HTML' give you the ability of syntax highlighting for css and html...
I don't use web components yet but this is quite useful for the future
I think it'll be a good tutorial