Echo JS 0.11.0

<~>

tracker1 comments

tracker1 1434 days ago. link 1 point
Or..

let array = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];

array.sort((a, b) => Math.round(Math.random()) || -1)

console.log(array)
tracker1 1435 days ago. link 1 point
With data attributes, any current browser supports the dataset property on the dom object... so e.target.dataset.id instead of e.target.getAttribute('data-id')

Other than that, the useCallback method is interresting at least.

I tend to prefer data attributes (dataset) because then it renders and is able to be utilized by ui/integration test frameworks.
tracker1 1467 days ago. link 1 point
Changed link to point to github source, which links to game site.
tracker1 1467 days ago. link 1 point
Cool, hadn't dug into this, but seems interresting.  Don't know that I'd use it outside of an appImage, unsure if there are packaging options, or FS limitations that are similar in Mac/Windows.

Are any of the dynamic/js based swf modules reasonable for this?  I know it's not quite the same.
tracker1 1491 days ago. link 1 point
I'm not seeing any way to actually wire and/or process payments.  Guessing this is a literal paywall behind the commercial version.
tracker1 1491 days ago. link 1 point
Maybe publish said benchmarks with the project?
tracker1 1493 days ago. link 1 point
I've just been using Deno scripts with a shebang for systems scripting with ts/js lately.
tracker1 1495 days ago. link 1 point
Deno uses https typically... I like the change myself... hoping this leads to better compatability with deno... or at least with deno, maybe importing `npm+node:...` since it's node-style modules from npm. And have deno auto-include the node compatibility shims.

That said, deno has become much more of a goto for me the past few months alone... there's only a handful of things I haven't found implemented that I need... it's been a nicer experience for orchestration scripting.
[more]