Echo JS 0.11.0

<~>

Ash comments

Ash 1079 days ago. link 1 point
Happy Birthday Echo JS! 🎉
Ash 1806 days ago. link 1 point
I'm not sure why, but VSCode still doesn't feel comfortable to me. I suspect it's the best option for TypeScript and I'm missing out.

I'm really interested to try Panic's Nova. The Electron based editors have some amazing features, but I miss having a native editor. The last native editor I used was Chocolat (: https://chocolatapp.com/.
Ash 1866 days ago. link 2 points
In my experience, the main difficulty is identifying, classifying, and documenting the cookies that are used... and then updating the codebase so that they are only set once the visitor has opted in. This is especially difficult when Google Tag Manager is involved, and/or swathes of tracking scripts have recklessly been bundled in over the years.

Projects and services that tout "automatic cookie consent with minimal config" are extremely frustrating, because they hide the actual issue. Implementing a cookie consent UI is itself not a particularly difficult task.
Ash 1990 days ago. link 2 points
Neato, I didn't realise you had made a React version too!
Ash 1990 days ago. link 2 points
This looks great. I was looking for a replacement for Siema (https://pawelgrzybek.github.io/siema/) just yesterday (it's no longer maintained and has a few limitations). I think I'll try Embla out on a project I'm working on at the moment. Thanks 🙂.
Ash 3284 days ago. link 2 points
Happy Birthday Echo JS :D
Ash 3765 days ago. link 1 point
Ah yes, I remember that episode of JSJ. UMD makes perfect sense for something like Lodash, where ease of use and portability is really important, and (I don't think) external dependencies are involved*.

For most modules I've worked on, having npm manage dependencies, and being able to easily consume these is a huge advantage. As far as I can tell this approach doesn't work with UMD (again, please correct me if I'm wrong).

So I just don't see it as an approach I would want to use unless:

- Supporting all environments is critical
- The module doesn't have any external dependencies

I definitely lean in the direction – probably ignorantly – of just use CJS.

* I've only skimmed the Lodash source, I should take a closer look when I get the chance.
Ash 3774 days ago. link 1 point
Is it really that straightforward, though? Making your CJS module compatible with AMD, or vice-versa, surely complicates your implementation. I have certainly experienced issues consuming cross compatible modules that just don't seem to be tested properly with my target module system.

I also assume (please tell me if I'm wrong) that by making my modules AMD compatible, I'm locked out from all of the dependency management goodness that comes with CJS and npm.

n.b. As somebody that has always steered clear of AMD, this is totally uniformed. The ambidextrous UMD approach sounds perfect, but really seems to complicate things. But I would love for someone to school me on my misconceptions (:
Ash 3832 days ago. link 1 point
I think it is to reduce frivolous upvoting. Ascribing a cost to upvoting means users will be more choosy with what they upvote – similar to downvoting on SO.