techhub.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A hub primarily for passionate technologists, but everyone is welcome

Administered by:

Server stats:

4.7K
active users

#rules_prerender

0 posts0 participants0 posts today
Doug Parker 🕸️<p><a href="https://techhub.social/tags/rules_prerender" class="mention hashtag" rel="tag">#<span>rules_prerender</span></a> can actually do this and it&#39;s a very powerful feature, but using it in that ecosystem requires buying into a much larger toolchain not everyone will want.</p><p><a href="https://github.com/dgp1130/rules_prerender/" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">github.com/dgp1130/rules_prere</span><span class="invisible">nder/</span></a></p><p>I&#39;m imagining a more flexible, standalone tool which could be effectively used in any web toolchain.</p>
Doug Parker 🕸️<p><span class="h-card" translate="no"><a href="https://mastodon.social/@passle" class="u-url mention">@<span>passle</span></a></span> The full repo is here with the relevant source code, explanation of how it works, and some notable caveats.</p><p><a href="https://github.com/dgp1130/out-of-order-streaming/" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">github.com/dgp1130/out-of-orde</span><span class="invisible">r-streaming/</span></a></p><p>It&#39;s a very cool idea to incorporate into any <a href="https://techhub.social/tags/SSR" class="mention hashtag" rel="tag">#<span>SSR</span></a> component model using shadow DOM. I&#39;ll have to consider it for <a href="https://techhub.social/tags/rules_prerender" class="mention hashtag" rel="tag">#<span>rules_prerender</span></a> if and when we get to SSR support.</p>
Doug Parker 🕸️<p><span class="h-card" translate="no"><a href="https://toot.cafe/@surma" class="u-url mention">@<span>surma</span></a></span> <span class="h-card" translate="no"><a href="https://mastodon.social/@jaffathecake" class="u-url mention">@<span>jaffathecake</span></a></span> Very cool stuff! I&#39;m a big proponent of build systems and I&#39;ve always been frustrated with how web devs seem to couple bundlers and build systems together into a single tool, when they are completely different concepts. Would love to see more build system usage in the web space!</p><p>On the <a href="https://techhub.social/tags/Bazel" class="mention hashtag" rel="tag">#<span>Bazel</span></a> front, I happen to be working on <a href="https://techhub.social/tags/rules_prerender" class="mention hashtag" rel="tag">#<span>rules_prerender</span></a>, a ruleset for doing static site generation in Bazel, built on top of <a href="https://techhub.social/tags/aspect_rules_js" class="mention hashtag" rel="tag">#<span>aspect_rules_js</span></a>.</p><p><a href="https://github.com/dgp1130/rules_prerender/" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">github.com/dgp1130/rules_prere</span><span class="invisible">nder/</span></a></p><p>It&#39;s maybe 90% feature complete towards 1.0, but unfortunately not yet documented. I&#39;ve been distracted and haven&#39;t had the time to builds the docs site (examples are more thorough if you can follow what they&#39;re doing).</p><p><a href="https://github.com/dgp1130/rules_prerender/tree/d5c9ac48b2f221d64c9bf9bf9b026e859f29a56e/examples/" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">github.com/dgp1130/rules_prere</span><span class="invisible">nder/tree/d5c9ac48b2f221d64c9bf9bf9b026e859f29a56e/examples/</span></a></p><p>I don&#39;t know if that would be useful for you, but I figured it tied in with the web + build systems + Bazel theme so it might be interesting to you.</p>
Doug Parker 🕸️<p>Are there any good <a href="https://techhub.social/tags/web" class="mention hashtag" rel="tag">#<span>web</span></a> conferences / meetups with an <a href="https://techhub.social/tags/RFP" class="mention hashtag" rel="tag">#<span>RFP</span></a> open in the <a href="https://techhub.social/tags/BayArea" class="mention hashtag" rel="tag">#<span>BayArea</span></a> or virtual?</p><p>There are a few projects I&#39;ve been working on which I&#39;d love to give talks about and share with the community (not Angular related). Could be talking about any/all of:</p><p>1. <a href="https://techhub.social/tags/HydroActive" class="mention hashtag" rel="tag">#<span>HydroActive</span></a> - A different take on hydration in an HTML-first world. <a href="https://github.com/dgp1130/HydroActive/" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">github.com/dgp1130/HydroActive</span><span class="invisible">/</span></a><br />2. <a href="https://techhub.social/tags/rules_prerender" class="mention hashtag" rel="tag">#<span>rules_prerender</span></a> - A <a href="https://techhub.social/tags/Bazel" class="mention hashtag" rel="tag">#<span>Bazel</span></a> ruleset serving as a fast and scalable <a href="https://techhub.social/tags/StaticSiteGenerator" class="mention hashtag" rel="tag">#<span>StaticSiteGenerator</span></a>. <a href="https://github.com/dgp1130/rules_prerender/" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">github.com/dgp1130/rules_prere</span><span class="invisible">nder/</span></a><br />3. <a href="https://techhub.social/tags/HTMLFragments" class="mention hashtag" rel="tag">#<span>HTMLFragments</span></a> - A no-tooling, web standard-based approach to HTML over the wire. <a href="https://blog.dwac.dev/posts/html-fragments/" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">blog.dwac.dev/posts/html-fragm</span><span class="invisible">ents/</span></a></p><p>Greatly appreciate boosts for reach!</p>
Doug Parker 🕸️<p>This change also has a side benefit of giving you full control over the `ts_project` which compiles your prerendering logic. No more awkward wrapping in <a href="https://techhub.social/tags/rules_prerender" class="mention hashtag" rel="tag">#<span>rules_prerender</span></a>, much cleaner!</p>
Doug Parker 🕸️<p>Just landed a major update to <a href="https://techhub.social/tags/rules_prerender" class="mention hashtag" rel="tag">#<span>rules_prerender</span></a> yesterday. I redesigned the core component API to better express dependencies between different &quot;slices&quot; of a component. For example, if you only depend on the client-side JavaScript, the bundler will still find the associated CSS styles.</p><p><a href="https://github.com/dgp1130/rules_prerender/issues/40" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">github.com/dgp1130/rules_prere</span><span class="invisible">nder/issues/40</span></a></p><p>Really excited about the direction here! Next step is the actual documentation site.</p>
Doug Parker 🕸️<p>Speaking of not writing documentation: I also prototyped a very cool idea for how to greatly simplify the developer experience of <a href="https://techhub.social/tags/rules_prerender" class="mention hashtag" rel="tag">#<span>rules_prerender</span></a> *and* make it understand even more complex dependency graphs.</p><p>Still more experimenting to be done, but I&#39;m hopeful this is a viable strategy and will be a big improvement for developers! 😁</p>
Doug Parker 🕸️<p>Released a new version of <a href="https://techhub.social/tags/rules_prerender" class="mention hashtag" rel="tag">#<span>rules_prerender</span></a> with full <a href="https://techhub.social/tags/Preact" class="mention hashtag" rel="tag">#<span>Preact</span></a> support built-in.</p><p><a href="https://github.com/dgp1130/rules_prerender/releases/tag/releases%2F0.0.27" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">github.com/dgp1130/rules_prere</span><span class="invisible">nder/releases/tag/releases%2F0.0.27</span></a></p><p>Getting closer and closer to something I&#39;d be willing to call a 1.0.0!</p><p>Biggest open issue is still actually writing all the documentation, though I keep getting distracted by other features.</p>
Doug Parker 🕸️<p>After a lot of work, I&#39;ve finally landed a release of <a href="https://techhub.social/tags/Bazel" class="mention hashtag" rel="tag">#<span>Bazel</span></a> <a href="https://techhub.social/tags/rules_prerender" class="mention hashtag" rel="tag">#<span>rules_prerender</span></a> which is compatible with <a href="https://techhub.social/tags/aspect_rules_js" class="mention hashtag" rel="tag">#<span>aspect_rules_js</span></a>! <a href="https://github.com/dgp1130/rules_prerender/releases/tag/releases%2F0.0.17" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">github.com/dgp1130/rules_prere</span><span class="invisible">nder/releases/tag/releases%2F0.0.17</span></a></p><p>This has been a long time coming, and the issue shows how big a change this was (<a href="https://github.com/dgp1130/rules_prerender/issues/48" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">github.com/dgp1130/rules_prere</span><span class="invisible">nder/issues/48</span></a>). It didn&#39;t help that I kept getting distracted with other things and forgot everything I was doing. 😅</p><p><a href="https://techhub.social/tags/aspect_rules_js" class="mention hashtag" rel="tag">#<span>aspect_rules_js</span></a> does seem like a solid improvement and it sets up <a href="https://techhub.social/tags/rules_prerender" class="mention hashtag" rel="tag">#<span>rules_prerender</span></a> for a lot of awesome improvements in the future (<a href="https://techhub.social/tags/ESM" class="mention hashtag" rel="tag">#<span>ESM</span></a>, <a href="https://techhub.social/tags/bzlmod" class="mention hashtag" rel="tag">#<span>bzlmod</span></a>, better bundling, etc.) Super excited about where we can take this next!</p><p>Shout out to <span class="h-card" translate="no"><a href="https://hachyderm.io/@alexeagle" class="u-url mention">@<span>alexeagle</span></a></span> and Greg Magolan (who I don&#39;t think is on Mastodon?) for their help, couldn&#39;t have done it without you!</p>