Closed fengmk2 closed 7 years ago
This is quick-format-unescaped: https://github.com/davidmarkclements/quick-format/tree/unescaped.
@fengmk2 the point of quick-format-unescaped is for situations where you want to interpolate without escaping (because escaping will happen at some higher point)
this prevents double escaping - rolling it as a separate module (rather than using an option) was necessary because the option check would have caused performance degradation - we're at the maximum amount of logical paths (e.g. conditional checks) before V8 will bail on inlining the function
They're using the same git repo https://github.com/davidmarkclements/quick-format.