Thanks a lot. This series is being very useful and it's hard to believe there are no more channels teaching about web components..
@gomakethings5 ай бұрын
Thank you!
@dirtdart815 ай бұрын
Really enjoying this series! I'm not new to programming, but new to web/js and it is an interesting time to be learning. As flavor of the week frameworks go in and out, this kind of 'back-to-basics' feels timely. Thanks for the videos!
@gomakethings5 ай бұрын
You're welcome! If you have any questions along the way, feel free to ask!
@pl4gueis5 ай бұрын
Great series. How would I go about writing tests for these web components?
@gomakethings5 ай бұрын
Same way you'd test any DOM manipulation component. Jest is well suited to it, I think.
@ChrisWeber4 ай бұрын
Where is the follow up to this video? You talked about decoupling the data storage. I would love to see your implementation.
@gomakethings4 ай бұрын
Haven't made it yet. I'm a bit behind. Sorry!
@cmilne105 ай бұрын
great series. Informative and simple
@gomakethings5 ай бұрын
Cheers!
@terhuneb5 ай бұрын
Thank you for mentioning an ES Module implementation too.
@gomakethings5 ай бұрын
You're welcome!
@sonnyl29155 ай бұрын
Luv it! Question: I've got troubled running into swapping elements issue. How do you have all the elements within the web-component readily in order for execution by the DOM? Sometimes in the console window said undefined or not found?
@gomakethings5 ай бұрын
I wrote a little bit about this a few weeks ago: gomakethings.com/the-different-ways-to-instantiate-a-web-component/ If you have a specific example in a code pen or GitHub repo you'd like me to look at, though, that works too!
@damvaz5 ай бұрын
Great content!!! Ideas for new contents? What about "making a new simple design system" (framework agnostic) using web componentes and css best practices?
@gomakethings5 ай бұрын
That's a great suggestion, thanks!
@krshnam6170Ай бұрын
The use of ${pick} was a bit confusing. It looked like you were using template literals but you are not. You are using ordinary strings and ${pick} is simply a literal piece of string to be replaced.
@gomakethingsАй бұрын
That's right. Because it's passed in as an attribute value, and attribute values are always plain strings. There's no safe way to convert them into a template literal, so we have to use a string.replace() instead. I used template literal conventions, though, for ease, and to avoid conflicts with some static site generators that use a handlebars-style convention: double curly brackets like this: {{ }}