Echo JS 0.11.0

<~>

tracker1 comments

tracker1 1437 days ago. link 1 point
Added note in the title that it's a paid product.

FYI, the reason I have removed most of the articles posted for this product is that paid products are against the posting rules for the site (even if there's a free tier).  I also tend to remove articles that are focused on the paid product.

With blogs on paid product sites, I will be more lenient if the focus of the article goes beyond the product and offers more learning or material outside said product.

While the product itself may be cool, and well priced, it's still against the rules.

https://www.echojs.com/about
tracker1 1437 days ago. link 1 point
was about to post the same... tfa's example is more verbose than necessary.  I put this inlined at the top of anywhere I need it... usually when stubbing out requests in tests or while shimming api clients until the backing service is ready.
tracker1 1440 days ago. link 1 point
Would suggest adjusting the items further down the list in decending order by GH stars ... at least it's a consistent order that way.

Usually don't like these kinds of lists, this one is a bit more complete than most and not too opinionated.

On "Material-UI" ... Material UI is a component library and implementation supporting the Material Design approach to applications.

On "react Bootstrap" .. React Bootstrap is a component library compliment to the Bootstrap CSS library.  It uses the stylesheet output, but with its' own components.

Would lean more towards fact, less on opinion.
tracker1 1443 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 1451 days ago. link 2 points
Arrays will get borked with this implementation.  See the fclone source for something more complete.
tracker1 1451 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 1451 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 1455 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 1455 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 1455 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.
[more]