2 ms·
Wow, I love the simplicity of this. I generally go with `pg` for my projects, but I'm definitely going to give this a try. As it so happens, I'll be building o
by bgdam 7y ago
Wow, I love the simplicity of this. I generally go with `pg` for my projects, but I'm definitely going to give this a try.
As it so happens, I'll be building out a little idea over the holidays, so I'll give more/better feedback after then.
Also, thanks for teaching me about tagged template literals. TIL.
- porsager 7y agoThanks a lot! I'll be looking forward to it ;) And yeah, I discarded tagged template literals when I first saw them, but they've certainly gained my love + trust since then. There's a really interesting optimization option for them because the first argument (string array) will always be the same instance for the same callsite so you can cache and make things really performant using that.