News for hackers. Stuff that matters.
Re:Launch HN: Pynecone (YC W23) – Web Apps in Pure Python by anakaine on Tuesday March 14, 2023 @01:11AM (#35147667)
In simple terms, what does Hotwire mean / provide?
Re:Launch HN: Pynecone (YC W23) – Web Apps in Pure Python by cutler on Tuesday March 14, 2023 @11:43PM (#35163566)
Hotwire allows you to handle front-end page/view updates and state from the server instead of relying on an SPA framework. Rails sends the minimal amount of JS to update the page without a full reload and for many use cases it's all you need. When you click a link configured with Hotwire turbolinks intercepts the call, fetches the new content from Rails and strips out everything except the body tag and its contents then uses that, with a sprinkling of JS, to update the page/view.
Re:Launch HN: Pynecone (YC W23) – Web Apps in Pure Python by anakaine on Saturday March 18, 2023 @07:11AM (#35208036)
That's sounds pretty good, actually.