Echo JS 0.11.0

<~>

tracker1 comments

tracker1 1513 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 1517 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 1517 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 1517 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 1520 days ago. link 2 points
Would be nice if you used github pages to host an active version of this.
tracker1 1530 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 1532 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.
tracker1 1538 days ago. link 2 points
Yeah, diagnostics would be really beneficial... possibly something that can generate a bundle from the polyfills that get added.  Of course, would need to run across several browsers and aggregate the results.

Only including what you actually need, vs say the babel-env fills, that include everything missing for your target, even if you aren't using it.

Blocking requests can be seriously nasty in practice though... I had to use them for SCORM implementations at one point.  And if you have a spotty connection as a user (think mobile) it can/will get particularly bad.
tracker1 1538 days ago. link 1 point
I think the biggest issue I have with this, are the in-between devices, like smaller screen laptops and tablets.  People still use these things and this type of split makes no sense for them as you will likely have a combination of both for these tween devices.

Also, the bulk of your overhead is more likely your library packages, and even the component libraries themselves, not your application component modules.  While you *can* break these down, I don't know that it's worth the consideration in many/most cases.

You can wrap most of your components in async load and your bundler can break these out... you will lose some benefits, but http2+ can offset some of the disadvantages in practice.
tracker1 1538 days ago. link 1 point
Cool... that said, relies on Firebase and Algolia, both are commercial SaaS, and Algolia in particular will be *VERY* expensive in practice. While I don't mind paid services, be careful of these kinds of locking.

Another issue is the potential extra thought that needs to go into security models in Firebase itself.

If you're doing something similar, should definitely explore Elastic Search (self-hosted or Elastic Cloud) or other search specific databases as alternatives.  For example, at the 100k/month search point a base level 3 node Elastic Cloud cluster is going to be competitive, and offer more room for growth without blowing up pricing.  For that matter, you can self-host with some relatively modest pricing structures on the likes of Linode or Digital Ocean.

I will often remove articles that are very obviously thinly veiled advertisements for a specific cloud service., or simple knock-off clones.  I don't think that is the case here.
[more]