warning: side effect, the passed in array is sorted after the method is run... this may be an unintended consequence.
Should probably point this out, and clone the array first.
Many of these are effectively built ins for JS... So would be nice to see performance benchmarks of the js-sdsl library vs. using built-in options for similar patterns in practice.
I can't speak to any specific downvotes... but Top N lists are usually unwelcome as are framework comparisons... especially if there aren't metrics behind the why, what and how it is considered.
What is this list from, and why in this order? What are the impacts of before/after, do you have test cases?
If you read the Steve Souders books on this, he specifically lists how/why and what tests were done to indicate the advice given. While the specifics may change, the practice is usually what is expected.
TBH, when I see Top N lists, I usually remove them summarily for the reasons above. Even if your tips are good advice, there's no why, and there's definitely no reasons behind them being the top... vs. what? Testing, metrics, performance differences, etc should be included...
If you just went through the performance suggestions that Lighthouse goes through and what difference they make, that would probably be a more substantial article. Make a completely unoptimized site/app then walk through the suggestions... there may be 25, there may be more, there may be less.
In the end, click bait titles, and comparison articles without metrics, meaning or rationale behind them are generally less well received.
I don't get why people aren't using plain fetch for these kinds of things... I know axios has some advantages, but you can shim what you need of it in like 20 lines of code most of the time.
If you could reach out to me... tracker1 at gmail ... would appreciate it. Thinking it would be cool to get a couple old BBS terminal programs running in your dostbox js setup... RIPTerm 1.54 as an example... but no idea how to get it to connect to a modern telnet bbs. There are websocket terminals already, but would be cool to get websockets into the jsdos environment.