Hacker News new | ask | show | jobs
by niraj-agarwal 443 days ago
Useful and simple. The pattern could be applied to any templatized document we need to generate.
1 comments

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 ).