philly-js-club / philly-js-club-website

The website for Philly JS. Powered by React, Remix, and TypeScript. 🔔✨
https://phillyjs.com
MIT License
9 stars 13 forks source link

🛠 Tooling: use Remix prerender feature #96

Open tjwds opened 1 month ago

tjwds commented 1 month ago

Bug Report Checklist

Overview

Right now, we're doing something a little silly to create static assets for this site: we use wget and crawl the site, then stick those assets in a separate repo. This workflow can now use the new prerender feature in Remix instead: https://github.com/remix-run/react-router/pull/11539

Additional Info

No response

brophdawg11 commented 1 month ago

FWIW, the prerender feature isn't released anywhere official yet so this issue probably has to chill for a bit. Hopefully soon!

tjwds commented 1 month ago

@brophdawg11 I'm totally happy to use an experimental preview if one becomes available! :-)

brophdawg11 commented 1 month ago

lol this isn’t even experimental territory yet. This is like pre-alpha of an eventual react router v7 (which is what remix v3 is becoming - pay attention to react conf next week).

There is something that can be used and I’d get a kick out of the Philly JS site being the first one to use this in production….so maybe I’ll take a stab at it. The steps to upgrade are not yet documented and exist only in our heads haha

JoshuaKGoldberg commented 1 month ago

YYYYYYYAAAAAAASSSSSSSS thank you @brophdawg11!! 🙌

I also love the idea of us being an early alpha tester kind of project to see how this goes. Marking as accepting prs. Let's see what happens!