Echo JS 0.11.0

<~>

tracker1 comments

tracker1 2378 days ago. link 1 point
Updated URL to the github project, which is likely more interesting to this audience, and links from there to the running application.
tracker1 2380 days ago. link 1 point
```
git clone --depth=1 ...
rm -rf ./outdir/.git
```
tracker1 2380 days ago. link 1 point
First, I'm not sure something like this should even be 38kb, it just feels incredibly oversized for what it is.  I am glad they switched to rollup in the past.  I'm also unsure what is actually needed from the polyfills.

Overall, it's just a large library for what it does and could probably be hand-crafted for under 5kb uglified.

(note: I'm not the one who downvoted)
tracker1 2383 days ago. link 1 point
I tend to prefer more functional approaches to work in JS... keeping libraries separated from context and data object instances.  I'm not a fan of OOP in general, and feel it leads to confusing spaghetti code.

Most of the examples would be easier to reason with using simpler objects, workflow functions and maybe something like IxJS as needed.

---

NOTE: iirc, the downvote wasn't me.
tracker1 2384 days ago. link 1 point
For the .env file, you should just be able to source it in most nix shells (bash definitely works)... As to node, you can use the dotenv package.
tracker1 2386 days ago. link 1 point
Like most auth0 articles, the content is specific to their service.  That said, using a public/private key jwt for your API services is good practice.  As is short-lived tokens with a refresh mechanism in place, and api checks to ensure tokens are actually short-lived.  Revocation is harder than ensuring short token lifespans in the first place and negates a lot of the value of JWT.
tracker1 2386 days ago. link 1 point
Nice lower-level write up on dealing with various color formats for web use.
[more]