News for hackers. Stuff that matters.
Re:Ask HN: What are you working on? (March 2025) by niraj-agarwal on Sunday March 30, 2025 @08:13PM (#43529199)
Useful and simple. The pattern could be applied to any templatized document we need to generate.
Re:Ask HN: What are you working on? (March 2025) by taejavu on Sunday March 30, 2025 @10:46PM (#43530311)
Yeah it'd be cool to consider this approach for some other domains. Sometime soon I'll make it so you can change the word in the top-left from "INVOICE" to "QUOTE" or "RECEIPT". The nice thing about an invoice is you know there's going to be a relatively small amount of data, so storing the state in the URL is a plausible approach (even if it looks obscene to discerning users ).