{"id":302288,"date":"2020-02-18T08:27:35","date_gmt":"2020-02-18T15:27:35","guid":{"rendered":"https:\/\/css-tricks.com\/?p=302288"},"modified":"2020-02-18T08:27:36","modified_gmt":"2020-02-18T15:27:36","slug":"web-component-for-a-code-block","status":"publish","type":"post","link":"https:\/\/css-tricks.com\/web-component-for-a-code-block\/","title":{"rendered":"Web Component for a Code Block"},"content":{"rendered":"\n

We’ll get to that, but first, a long-winded introduction.<\/p>\n\n\n\n

I’m still not in a confident place knowing a good time<\/em> to use native web components. The templating isn’t particularly robust, so that doesn’t draw me in. There is no state management, and I like having standard ways of handling that. If I’m using another library for components anyway, seems like I would just stick with that. So, at the moment, my checklist is something like:<\/p>\n\n\n\n