<!--<\/code> is the start of the content and handle that as a special situation?<\/li><\/ul>\n\n\n\nAnyway, if you wanna fork it or do anything fancier with it, lemme know. Maybe we can eventually put it on npm or whatever. We’ll have to see how useful people think it could be.<\/p>\n","protected":false},"excerpt":{"rendered":"
We’ll get to that, but first, a long-winded introduction. I’m still not in a confident place knowing a good time 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 […]<\/p>\n","protected":false},"author":3,"featured_media":302481,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"sig_custom_text":"","sig_image_type":"featured-image","sig_custom_image":0,"sig_is_disabled":false,"inline_featured_image":false,"c2c_always_allow_admin_comments":false,"footnotes":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":[]},"categories":[4],"tags":[],"jetpack_publicize_connections":[],"acf":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2020\/01\/code-block-screenshot.png?fit=1200%2C600&ssl=1","jetpack-related-posts":[{"id":336783,"url":"https:\/\/css-tricks.com\/takes-on-state\/","url_meta":{"origin":302288,"position":0},"title":"Takes on State","date":"March 24, 2021","format":false,"excerpt":"React is actually a bit of an outlier with state management. While it has first-class tools like useState and Context, you're more own your own for reactive global state. Here's David Ceddia with \"React State Management Libraries and How to Choose\" which does a good job of talking about the\u2026","rel":"","context":"In "Article"","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2018\/07\/state-management.jpg?fit=1200%2C600&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":292329,"url":"https:\/\/css-tricks.com\/haunted-hooks-for-web-components\/","url_meta":{"origin":302288,"position":1},"title":"Haunted: Hooks for Web Components","date":"July 3, 2019","format":false,"excerpt":"I was just chatting with Dave and he told me about Haunted. It's hooks, but for native web components! Pretty cool. I think the existence of stuff like this makes using web components more and more palatable \u2014 particularly in that totally-native no-build-step-needed-at-all kinda way. I get that there are\u2026","rel":"","context":"In "Article"","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2019\/07\/lots-of-bubbles.png?fit=1200%2C600&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":339563,"url":"https:\/\/css-tricks.com\/astro\/","url_meta":{"origin":302288,"position":2},"title":"Astro","date":"May 5, 2021","format":false,"excerpt":"You can't even look at code or documentation for Astro (publicly) yet\u2009\u2014\u2009it's an in-progress idea\u2009\u2014\u2009but you can watch a video of Fred showing it off to Feross. I gotta admit: it looks awesome. I'm bullish on two major parts of this: Jamstack is a good idea. Producing static, pre-rendered, minimal\u2026","rel":"","context":"In "Article"","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2021\/05\/astro-homepage.png?fit=1200%2C597&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":266130,"url":"https:\/\/css-tricks.com\/designer-oriented-styles\/","url_meta":{"origin":302288,"position":3},"title":"Designer-Oriented Styles","date":"January 31, 2018","format":false,"excerpt":"James Kyle: Components are a designer\u2019s bread and butter. Designers have been building design systems with some model of \u201ccomponent\u201d for a really long time. As the web has matured, from Atomic Design to Sketch Symbols, \u201ccomponents\u201d (in some form or another) have asserted themselves as a best practice for\u2026","rel":"","context":"In "Link"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":300598,"url":"https:\/\/css-tricks.com\/third-party-components-at-their-best\/","url_meta":{"origin":302288,"position":4},"title":"Third-Party Components at Their Best","date":"January 16, 2020","format":false,"excerpt":"I'm a fan of the componentization of the web. I think it's a very nice way to build a website at just about any scale (except, perhaps, the absolute most basic). There are no shortage of opinions about what makes a good component, but say we scope that to third-party\u2026","rel":"","context":"In "Article"","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2019\/11\/bright-plaid.png?fit=1200%2C600&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":333234,"url":"https:\/\/css-tricks.com\/styling-web-components\/","url_meta":{"origin":302288,"position":5},"title":"Styling Web Components","date":"January 29, 2021","format":false,"excerpt":"Nolan Lawson has a little emoji-picker-element that is awfully handy and incredibly easy to use. But considering you'd probably be using it within your own app, it should be style-able so it can incorporated nicely anywhere. How to allow that styling isn't exactly obvious: What wasn\u2019t obvious to me, though,\u2026","rel":"","context":"In "Article"","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2021\/01\/web-blocks.jpg?fit=1200%2C600&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]}],"featured_media_src_url":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2020\/01\/code-block-screenshot.png?fit=1024%2C512&ssl=1","_links":{"self":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/posts\/302288"}],"collection":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/comments?post=302288"}],"version-history":[{"count":4,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/posts\/302288\/revisions"}],"predecessor-version":[{"id":303972,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/posts\/302288\/revisions\/303972"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/media\/302481"}],"wp:attachment":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/media?parent=302288"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/categories?post=302288"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/tags?post=302288"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}