Echo JS 0.11.0

<~>

tracker1 comments

tracker1 1682 days ago. link 3 points
probably better to use a combination of setInterval and/or requestAnimationFrame and update when the seconds actually changes.. with the setTimeout loop, it will get a jarring 2s shift on occassion... more noticeable with a digital readout, but it will happen as you hit borderline timing on the second.
tracker1 1690 days ago. link 2 points
Arrays will get borked with this implementation.  See the fclone source for something more complete.
tracker1 1690 days ago. link 1 point
Worth noting that "classical" inheritance in JS is mostly syntax sugar over prototype based inheritance with all it's performance implications.
tracker1 1690 days ago. link 2 points
Math.random isn't a good random number generator, especially for smaller number variations.

Use window.crypto or import 'crypto' for node.
tracker1 1695 days ago. link 1 point
While this is a cool abstraction, I do think that React is here to stay for a very long time, and that JSX based component library options are also likely to stay around for a very long time.

While the DOM is relatively stable now, this wasn't always the case, and with the expansion of WASM libraries and tooling that will come in the next few years, it could get interesting. An abstraction like in TFA might be better served with a WASM targeted application management layer/framework.
tracker1 1695 days ago. link 2 points
It's a bit opinionated.  No test setup anywhere in sight.  Redux Saga chosen over say thunks.  As mentioned no Saga examples.  Organized by type, not feature.

Really doesn't add much over create-react-app imo.
tracker1 1695 days ago. link 1 point
Both of these components don't seem to have anything actually wired for click events, feels like half the example is missing and not in a way that makes things really understandable.
tracker1 1697 days ago. link 2 points
Would be nice if you used github pages to host an active version of this.
tracker1 1707 days ago. link 0 point
Why the hell did you just turn around and post this again literally 2 days after you already posted it?
tracker1 1710 days ago. link 0 point
TBH, it's just massive information overload to the point where it really loses value.  There's some inline bits as well as external links.
[more]