chore: misc cleanup and low-hanging optimizations #9
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "chore/misc-cleanup"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
chart.jsfrompackage.jsondependencies — it's loaded via CDN, not bundledListaEESSPrecio) after first resolution instead of scanningObject.keys()on every fetch callMath.min(...spread)/Math.max(...spread)in chart rendering withreduce()to avoid call stack overflow with large datasetsfilterByPostalCodePrefixexport (fixes test import error)Impact
Smaller
node_modules, slightly faster API fetches, and robustness against large price datasets.3f66bf4339tocc03adee7ecc03adee7etob7f0b32530