Avatar
Avatar
omochimetaru
例えば一つの理想としては div(display: "flex", flex-direction: "column", align-items: "center", gap: "4px") って書ける事だけど
今更ですが,function body macros を使うアイデアがちょっと気になりました. https://forums.swift.org/t/elementary-a-modern-and-efficient-html-rendering-library-inspired-by-swiftui-built-for-the-web/72647/4
I'm glad to see packages such as this appearing, but I'm also curious to see if anyone considered a much more efficient HTML renderer that relies on macros instead of result builders. I'll post a few ideas here that I had on my wishlist for a long time for a macro-based HTML rendering library. With function body macros there's no need to pollut...